function DrawText(image: TImage32; const rec: TRect; textAlign: TTextAlign; textAlignV: TTextVAlign; startChunkIdx: integer; lineHeight: double = 0.0): TPageTextMetrics;
The DrawText function will draw onto image as much of the chunked text content that will fit into the supplied rec region, starting with the chunk indexed startChunkIdx.
The returned TPageTextMetrics record contains the layout of the rendered text including the number of visible lines, the line height, and the index of the next chunk to be rendered (if any remain).
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 18 Jan 2025