|
|
|
|
|
SftPrintPreviewPrinter.Orientation Property |
Defines the orientation of the paper.
Syntax
|
VB.NET |
Style = object.Orientation As SftPrintPreviewOrientationConstants |
||
|
VB |
Style = object.Orientation As SftPrintPreviewOrientationConstants |
||
|
C#.NET |
SftPrintPreviewOrientationConstants Style = object.Orientation; |
||
|
VC++ |
enum SftPrintPreviewOrientationConstants Style = object->Orientation;
|
||
|
C |
HRESULT object->get_Orientation(enum SftPrintPreviewOrientationConstants* Style); |
||
|
Delphi |
Style := object.Orientation : TOleEnum; |
||
|
VB.NET |
object.Orientation = Style As SftPrintPreviewOrientationConstants |
||
|
VB |
object.Orientation = Style As SftPrintPreviewOrientationConstants |
||
|
C#.NET |
SftPrintPreviewOrientationConstants object.Orientation = Style; |
||
|
VC++ |
enum SftPrintPreviewOrientationConstants object->Orientation = Style;
|
||
|
C |
HRESULT object->put_Orientation(enum SftPrintPreviewOrientationConstants Style); |
||
|
Delphi |
object.Orientation := Style : TOleEnum; |
||
object
A SftPrintPreviewPrinter object.
Style
Defines the orientation of the paper.
|
Name |
Value |
Description |
|
1 |
Portrait |
|
|
2 |
Landscape |
Comments
The Orientation property defines the orientation of the paper.
The Printer.OrientationRotation property can be used to determine the direction of the rotation to produce landscape orientation.