PtrDevice:LogPaperWidth Access

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > PtrDevice Class >

PtrDevice:LogPaperWidth Access

Previous pageReturn to chapter overviewNext page
Type        16-bit: ShortInt, 32-bit: LongInt


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.


// How much horizontal room do I have for this line?

nHorizontalRoom := oPtrDevice:LogPaperWidth