Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreviewPrinter.Form Method

Returns the name of the paper size.

Syntax

VB.NETName = object.Form(ByVal Index As Integer) As String
VBName = object.Form(ByVal Index As Integer) As String
C#.NETstring Name = object.Form(int Index);
VC++_bstr_t* Name = object->Form(int Index);
CHRESULT object->raw_Form(int Index, BSTR* Name);

object

A SftPrintPreviewPrinter object.

Index

The zero-based index of the requested paper size.

Name

Returns the name of the paper size.

Comments

The Form method returns the name of the paper size.

The total number of available paper sizes for the current printer can be retrieved using the Printer.FormCount property.

The Printer.FormValue property can be used to retrieve the equivalent form value as used by the device driver and the Windows DEVMODE structure.

The Printer.FormHeight and Printer.FormWidth can be used to determine the actual paper size.

The Printer.PaperSize and Printer.PaperSizeValue properties can be used to define the paper size used for the current printer.

See Also SftPrintPreviewPrinter Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.