Help Center

CPrint.GetVerticalUnitsmethod

Returns the height, in world units, of the printable area of the page.

PrintingmethodCPrint.incdocumented

Syntax

FUNCTION GetVerticalUnits () AS LONG

Return value

LONG. The height, in world units, of the printable area of the page. If there is not a printer attached, it returns 0.

Description

Returns the height, in world units, of the printable area of the page.

Reference

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