PtrDevice:LogPaperLength Access

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > PtrDevice Class >

PtrDevice:LogPaperLength Access

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


This access returns the number of logical vertical pixels on a given sheet of paper.  This value is based on the number of vertical pixels per inch in the window that owns the printer device.  This value is scaled to fill the actual print page.


// Print the next line if I have room

if nCurrentLine < oPrtDevice:LogPaperLength

         // print a line