Please enable JavaScript to view this site.

Raster Image Printer

Description

Sets any page rotation options in the IPNSession object.

To set a single page rotation option use the SetProperty call with the appropriate arguments. See the Remarks below for a list of arguments.

See the Rotate Pages section for a more detailed explanation.

Syntax

expression.SetPageRotationOptions(Portrait, Landscape)

where expression is an IPNSession object.

Parameters

pnRotation Portrait

A pnRotation constant for the degree of counter-clockwise rotation for portrait pages.

pnRotation Landscape

A pnRotation constant for the degree of counter-clockwise rotation for landscape pages.

Remarks

Use the following to set these options using SetProperty:

Method Parameter

SetProperty Parameters

Portrait

SectionName:

Image Options

PropertyName:

Rotate portrait

varValue:

VT_I4, one of:

0

90

180

270

Landscape

SectionName:

Image Options

PropertyName:

Rotate landscape

varValue:

VT_I4, one of:

0

90

180

270

Supported Printers: TIFF Image Printer, PDF Image Printer, Raster Image Printer

See Also: SetPageBrightness SetPageCropOn SetPageCropAreaOptions SetPageCropMarginOptions SetPageTrimOptions SetProperty pnRotation