Help Center

CPrint.DuplexModeproperty

Gets/sets the current duplex mode.

PrintingpropertyCPrint.incdocumented

Syntax

PROPERTY DuplexMode () AS LONG
PROPERTY DuplexMode (BYVAL nMode AS LONG)

Parameters

NameDescription
nModeLONG. The duplex mode.
DMDUP_SIMPLEX = Single sided printing.
DMDUP_VERTICAL = Page flipped on the vertical edge.
DMDUP_HORIZONTAL = Page flipped on the horizontal edge.

Return value

LONG. If the printer supports duplex printing, returns the current duplex mode

Description

Gets/sets the current duplex mode.

Reference

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