Help Center

CPrint.Orientationproperty

Gets/sets the printer orientation.

PrintingpropertyCPrint.incdocumented

Syntax

PROPERTY Orientation () AS LONG
PROPERTY Orientation (BYVAL nOrientation AS LONG)

Parameters

NameDescription
nOrientationLONG. The printer orientation.
DMORIENT_PORTRAIT = Portrait.
DMORIENT_LANDSCAPE = Landscape.

Return value

LONG. The printer orientation.

Description

Gets/sets the printer orientation.

Reference

  • Include file CPrint.inc
  • Defined in AfxNova/CPrint.inc:666
  • Documented in Printing/CPrint Class.md
  • Topic: CPrint Class