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