RTF:LastPrintedChar Access

<< Click to Display Table of Contents >>

Navigation:  RTF Class >

RTF:LastPrintedChar Access

Previous pageReturn to chapter overviewNext page
Type        LongInt

Purpose

If called after RTF:DrawText(), it returns the last printed character.  This value is useful for spanning a large RTF stream across multiple pages.

Example

// Show the last character we printed in the rectangle

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

? oRTF:LastPrintedChar