RTF:LastPrintedRow Access

<< Click to Display Table of Contents >>

Navigation:  RTF Class >

RTF:LastPrintedRow Access

Previous pageReturn to chapter overviewNext page
Type        ShortInt


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.


// Draw a line right below the text

oRTF:DrawText(oPtr, 0, 0, 100, 100, TRUE)


oPtr:DrawLine(nRow, 0, nRow, 100)