RpPrinter:PrintAreaWidth Access
<< Click to Display Table of Contents >> RpPrinter:PrintAreaWidth Access |
![]() ![]() ![]() |
Type | Float |
Purpose
Returns the width of the print area in the current unit of measure. The formula is paper width - left margin - right margin.
Example
// Don't go off the end of the page
if oRpPrinter:GetTextLength("Hello World!") > ;
oRpPrinter:PrintAreaWidth
// try a smaller font
endif