PtrDevice:LogPaperWidth Access
<< Click to Display Table of Contents >> PtrDevice:LogPaperWidth Access |
![]() ![]() ![]() |
Type | 16-bit: ShortInt, 32-bit: LongInt |
Purpose
This access returns the number of logical horizontal pixels on a given sheet of paper. This value is based on the number of horizontal pixels per inch in the window that owns the printer device. This value is scaled to fill the actual print page.
Example
// How much horizontal room do I have for this line?
nHorizontalRoom := oPtrDevice:LogPaperWidth