PortraitOrient property (IEpnPrinterSpecifications)

Visual Basic example

Visual C++ example

 

Syntax

VARIANT_BOOL PortraitOrient;

Overview

Refer to Setting and Getting ePrint Printer Specifications.

Remarks

Indicates whether the paper orientation is portrait or landscape. Possible values are:

Value

Meaning

VARIANT_TRUE

Portrait paper.

VARIANT_FALSE

Landscape paper. This is the default value.

Support for Basic functionality must be unlocked by calling the UnlockSupport method before using this method.

This property is use to configure the printing specification.

This property is updated with the currently used value by calling the GetPrinterSpecifications method.

To set the value of this property, assign a new value to it and call the SetPrinterSpecifications method.

See Also

Elements:

PaperID property, PaperSizeName property, PaperWidth property, PaperHeight property, DimensionsInInches property, MarginsPrinter property, PrintQuality property, YResolution property, GetPrinterSpecifications method, SetPrinterSpecifications method

Topics:

ePrint: Getting and Setting Printer Specifications