CPrint.PointsToPixelsXmethod
Converts a point size (1/72 of an inch) to pixels (horizontal resolution).
Syntax
FUNCTION PointsToPixelsX (BYVAL pts AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
pts | The number of points to convert. |
Return value
LONG. The number of pixels. If there is not a printer attached, it returns 0.
Description
Converts a point size (1/72 of an inch) to pixels according to the PPI of the printer (horizontal resolution).
Reference
- Include file
CPrint.inc - Defined in AfxNova/CPrint.inc:404
- Documented in Printing/CPrint Class.md
- Topic: CPrint Class