| Draw method |
Applies to
TWPRTFEnginePaint
| Overloaded Variants |
Declaration
function Draw(outCanvas: TCanvas; x, y: Integer; h: Integer; xres, yres: Integer; starty: Integer; HandlePageBreaks: Boolean = FALSE): Integer;
Description
Method to paint just a part of the text. It starts with a given y offset and stops when the provided height has been filled. The result value is -1 or the y offset where the next part of the text starts. The coordinate values use the provided resolution. The text will be scaled if required. Optionally the function also stops at a page break. This function ignores header and footer - it only prints the body text!
Declaration
function Draw(outDC: HDC; x, y: Integer; h: Integer; xres, yres: Integer; starty: Integer; HandlePageBreaks: Boolean = FALSE): Integer;
|
Copyright (C) by WP |