Help Center

CPrint.GetPPIYmethod

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

PrintingmethodCPrint.incdocumented

Syntax

FUNCTION GetPPIY () 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 (vertical resolution).

Reference

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