TPageTextMetrics = record | ||
bounds | : TRect; | |
lineCount | : integer; | |
lineHeight | : double; | |
: integer; | ||
startOfLineIdx | : TArrayOfInteger; | |
justifyDeltas | : TArrayOfDouble; | |
lineWidths | : TArrayOfDouble; | |
end; |
The record is return by the TChunkedText.GetPageMetrics and TChunkedText.DrawText methods.
bounds | : | the rectangular region specified by the calling function (see above). |
lineCount | : | the number of lines displayed within the specified bounds |
lineHeight | : | the largest lineHeight of each (displayed) text chunk will determine the lineHeight for all the displayed lines |
nextChuckIdx | : | the index of the first chunk that would follow on, unless there are no more chunks, in which case the value will equal the chunk count |
startOfLineIdx | : | an array of the chunk indexes, for the chunks that start each displayed line |
justifyDeltas | : | each line's space justifying increment (only used when align = taJustify) |
lineWidths | : | the text width (in pixels ) of each displayed line |
TChunkedText, TChunkedText.DrawText, TChunkedText.GetPageMetrics
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 18 Jan 2025