This property sets the orientation of the paper.
Property Value
Value | Explanation |
---|---|
poPortrait | Vertical or Protrait |
poLandscape | Horizontal or Landscape |
Explanation
The Orientation property sets the orientation of the paper. To retrieve the Orientation property value, first execute the GetDevModeHandle or GetDevModeInfo method, after which the value can be retrieved from the Orientation property. To set the value of the Orientation property, execute the SetDevModeInfo method.
Note: The Orientation setting is dependent upon the printer driver. Because of this, it is possible that the setting has no affect or an affect different than expected. For details about printing orientation, please refer to the printer manufacturer's manual. For more information about the TPrinterOrientation type, please refer to the Delphi or C++Builder help documentation.
Setting this value
This value can be set at runtime.
Retrieving this value
This value can be retrieved at runtime.
Differences from ImageKit7/8/9/10 ActiveX
The type has changed