RTF:LastPrintedRow Access
<< Click to Display Table of Contents >> RTF:LastPrintedRow Access |
![]() ![]() ![]() |
Type | ShortInt |
Purpose
If called after RTF:DrawText(), it returns the last row printed. This value is useful for printing additional information below the RTF text. This value is in logical pixels. To use this value with the RpPrinter class you must translate it to RpPrinter units.
Example
// Draw a line right below the text
oRTF:DrawText(oPtr, 0, 0, 100, 100, TRUE)
nRow:=oPtr:_xLateVLogical2UnitofMeasure(oRTF:LastPrintedRow)+1
oPtr:DrawLine(nRow, 0, nRow, 100)