TChunkedText.GetPageMetrics

function GetPageMetrics(const rec: TRect; lineHeight: double; startingChunkIdx: integer): TPageTextMetrics;


This method returns a TPageTextMetrics record that details the layout of text chunks inside the specified rec region.

If lineHeight is 0 then the largest line height of all the displayed text chunks (starting at startingChunkIdx) will be used.

See Also

TPageTextMetrics