Navigation:  Properties >

PaperOrientation Property

Previous pageReturn to chapter overviewNext page


Returns or sets the paper orientation for the selected printer when printing the document.





object.PaperOrientation [=value]


Where object evaluates to an ASP Printer object.



The settings for value are:



ConstantValue        Description

spOrientationPortrait1        (Default). Specifies a portrait paper orientation.
spOrientationLandscape2        Specifies a landscape paper orientation.





The effect of this property depends on the driver supplied by the printer manufacturer. Some property settings may have no effect, or several different property settings may all have the same effect. Settings outside the accepted range may or may not produce an error. For more information, see the manufacturer's documentation for the specific driver.