|
|
|
|
|
SftPrintPreviewPrinter.FormHeight Method |
Returns the height of the paper.
Syntax
|
VB.NET |
Value = object.FormHeight(ByVal Index As Integer) As Integer |
||
|
VB |
Value = object.FormHeight(ByVal Index As Integer) As Integer |
||
|
C#.NET |
int Value = object.FormHeight(int Index); |
||
|
VC++ |
int* Value = object->FormHeight(int Index); |
||
|
C |
HRESULT object->raw_FormHeight(int Index, int* Value); |
||
|
Delphi |
Value := object.FormHeight(Index : Integer) : Integer; |
object
A SftPrintPreviewPrinter object.
Index
The zero-based index of the requested paper size.
Value
Returns the height of the paper in pixels (printer units, based on current printer resolution Printer.GetPrintResolution).
Comments
The FormHeight method returns the height of the paper.
The total number of available paper sizes for the current printer can be retrieved using the Printer.FormCount property.
The Printer.Form property can be used to retrieve the name of the form specified by Index.
The Printer.PaperSize and Printer.PaperSizeValue properties are used to define the paper size for the current printer.