RpPrinter:PrintAreaLength Access

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > RpPrinter Class >

RpPrinter:PrintAreaLength Access

Previous pageReturn to chapter overviewNext page
Type        Float

Purpose

Returns the length of the print area in the current unit of measure.  The formula is paper length - top margin - bottom margin.

Example

// Don't go off the end of the page

if oRpPrinter:NextPRow > oRpPrinter:PrintAreaLength

         return PRINT_OK

else

         // print next row

endif