THPDFTextOutBoxResult Record
Reports the characters written, the lines written and any overflow for boxed text output
Declaration
THPDFTextOutBoxResult= record
CharsWritten: Integer;
LinesWritten: Integer;
Overflow: boolean;
end;
Unit
HPDFDoc
Fields
| Field | Purpose |
|---|---|
CharsWritten | How many characters from the source string actually made it into the box |
LinesWritten | How many text lines were emitted inside the box |
Overflow | True where the box dimensions are invalid or text was left over that did not fit |
Usage notes
- Returned by
TextOutBoxExandWideTextOutBoxEx; drawing stops the moment the next line would fall below the box bottom - A degenerate box (zero or negative width or height) sets
Overflowat once without drawing anything - Compare
CharsWrittenagainst the input length to paginate the remainder into the next box or page