AccusoftPrintPro8 ActiveX DLL > PrintPro Object : Orientation Property |
Gets or sets a value indicating whether documents are printed in portrait or landscape mode (if the printer supports this feature).
Visual Basic |
---|
Public Property Orientation As PP_Orientation |
Returns or sets a value indicating whether documents are printed in portrait or landscape mode (if the printer supports this feature). Not available at design time.
Note: If you set the Orientation property after a document has been started, the new orientation will not take effect until you start a new page using the NewPage method.
The effect of setting the Orientation property depends on the driver supplied by the printer manufacturer. Some property settings may have no effect. Settings outside the accepted range may produce an error. The ErrorCode property will be set to -5015 or -5016 if the printer does not support this property. For more information, see the manufacturer's documentation for the specific printer driver.