PtrDevice:HPixelsPerInch Access
<< Click to Display Table of Contents >> PtrDevice:HPixelsPerInch Access |
![]() ![]() ![]() |
Type | 16-bit: ShortInt, 32-bit: LongInt |
Purpose
Returns the horizontal resolution of the printer (pixels per inch). This value is generally the same as the PtrDevice:XPrinterRes except this access uses GetDeviceCaps(LOGPIXELSX) to get the printer resolution.
Example
// get the horizontal pixels per inch
? oPtrDevice:HPixelsPerInch