Accusoft PrintPRO 8
Orientation Property
Description

Gets or sets a value indicating whether documents are printed in portrait or landscape mode (if the printer supports this feature).

Property Type
Read-write property
Syntax
Visual Basic
Public Property Orientation As PP_Orientation
Return Type
The PP_Orientation value which determines if documents are printed in portrait or landscape mode.
Remarks

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.

See Also

PrintPro Object  | PrintPro Members  | PP_Orientation Enumeration  | Orientation Property

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback