Help Center

CPrint.PixelsToUnitsXmethod

Converts pixels to world units. (horizontal resolution).

PrintingmethodCPrint.incdocumented

Syntax

FUNCTION PixelsToUnitsX (BYVAL pix AS LONG) AS LONG

Parameters

NameDescription
pixThe number of pixels to convert.

Description

Converts pixels to world units (horizontal resolution).

Reference

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