Help Center

CPrint.PaperSizeproperty

Gets/sets the printer paper size.

PrintingpropertyCPrint.incdocumented

Syntax

PROPERTY PaperSize () AS LONG
PROPERTY PaperSize (BYVAL nSize AS LONG)

Parameters

NameDescription
nSizeLONG. Specifies the printer paper size, with DMPAPER_LETTER, DMPAPER_LEGAL, DMPAPER_A3, and DMPAPER_A4 being the most typical. Note that the paper size types cannot be combined with one another.
For a list of paper sizes see Paper Sizes.

Return value

LONG. The printer paper size.

Description

Gets/sets the printer paper size.

Reference

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