Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreviewPrinter.Orientation Property

Defines the orientation of the paper.

Syntax

Get

VB.NETStyle = object.Orientation As SftPrintPreviewOrientationConstants
VBStyle = object.Orientation As SftPrintPreviewOrientationConstants
C#.NETSftPrintPreviewOrientationConstants Style = object.Orientation;
VC++enum SftPrintPreviewOrientationConstants Style = object->Orientation;
enum SftPrintPreviewOrientationConstants Style = object->GetOrientation();
CHRESULT object->get_Orientation(enum SftPrintPreviewOrientationConstants* Style);

Put

VB.NETobject.Orientation = Style As SftPrintPreviewOrientationConstants
VBobject.Orientation = Style As SftPrintPreviewOrientationConstants
C#.NETSftPrintPreviewOrientationConstants object.Orientation = Style;
VC++enum SftPrintPreviewOrientationConstants object->Orientation = Style;
void object->PutOrientation(enum SftPrintPreviewOrientationConstants Style);
CHRESULT object->put_Orientation(enum SftPrintPreviewOrientationConstants Style);

object

A SftPrintPreviewPrinter object.

Style

Defines the orientation of the paper.

NameValueDescription
orientationSftPrintPreviewPortrait1Portrait
orientationSftPrintPreviewLandscape2Landscape

Comments

The Orientation property defines the orientation of the paper.

The Printer.OrientationRotation property can be used to determine the direction of the rotation to produce landscape orientation.

See Also SftPrintPreviewPrinter Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.