Help Center

CPrint.GetPPIXmethod

Returns the number of pixels per inch of the page (horizontal resolution).

PrintingmethodCPrint.incdocumented

Syntax

FUNCTION GetPPIX () AS LONG

Return value

LONG. The number of pixels per inch of the specified host printer page. If there is not a printer attached, it returns 0.

Description

Returns the number of pixels per inch of the specified host printer page (horizontal resolution).

Reference

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