Help Center

CPrint.SetPaperSizemethod

Sets the paper length and width in units of 1/10 of a millimeter.

PrintingmethodCPrint.incdocumented

Syntax

FUNCTION SetPaperSize (BYVAL nLength AS LONG, BYVAL nWidth AS LONG) AS BOOLEAN

Parameters

NameDescription
nLengthLONG. The length of the printer paper size.
nWidthLONG. The width of the printer paper size.

Return value

BOOLEAN. Returns True on success or False on failure.

Description

Sets the printer paper length and width.

Reference

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