Help Center

CPrint.GetHorizontalUnitsmethod

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

PrintingmethodCPrint.incdocumented

Syntax

FUNCTION GetHorizontalUnits () AS LONG

Return value

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

Description

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

Reference

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