TTMSFNCPrintGraphicsLibHTMLLine Class
Internal record representing a single styled text run or image element in the print-graphics HTML rendering pipeline.
API unit family: TMSFNCRichEditorPrintIO
Syntax
TTMSFNCPrintGraphicsLibHTMLLine = class
Properties
| Name | Description |
|---|---|
| BackgroundColor | Background fill colour applied behind this text run or image. |
| Bitmap | Image data for this element when HasImage is True. |
| BitmapHeight | Rendered height of the image in points. |
| BitmapWidth | Rendered width of the image in points. |
| Bullet | When True, this element represents a list bullet character. |
| FontName | Name of the font used to render the text run. |
| FontSize | Point size of the font used to render the text run. |
| FontStyle | Style attributes (bold, italic, underline, strikeout) applied to the text run. |
| HasImage | When True, this element contains an inline image rather than text. |
| IsLine | When True, this element represents a horizontal rule drawn across the page. |
| IsUrl | When True, the text run is a hyperlink and URL holds the target address. |
| LineBreak | When True, this element forces a new line in the output. |
| LineColor | Colour used to draw the horizontal rule when IsLine is True. |
| Offset | Vertical baseline offset in points for subscript or superscript positioning. |
| Subscript | When True, the text run is rendered as subscript (below the baseline). |
| Superscript | When True, the text run is rendered as superscript (above the baseline). |
| Text | Unicode text content of this run. |
| TextAlign | Horizontal alignment applied when drawing this text run within its bounding rectangle. |
| TextColor | Foreground colour used to render the text. |
| URL | Hyperlink target address when IsUrl is True. |
Methods
| Name | Description |
|---|---|
| Reset | Resets all properties to their default values. |