Table of Contents

TTMSFNCDataGridIOHTMLOptions Class

Options controlling HTML export: table structure, styling, image handling, and optional header/footer HTML fragments.

API unit family: TMSFNCDataGridRenderer Inherits from: TPersistent

Syntax

TTMSFNCDataGridIOHTMLOptions = class(TPersistent)

Properties

Name Description
ConvertSpecialChars When True, special HTML characters (&, <, >) in cell text are escaped to their HTML entities. Default is False.
ExportColors When True, cell background and font colors are exported as inline CSS styles. Default is True.
ExportImages When True, cell images are saved to disk and referenced via <img> tags. Default is True.
FooterFile Path to an HTML file whose content is appended after the closing </table> tag.
FooterText HTML text appended after the closing </table> tag.
HeaderFile Path to an HTML file whose content is prepended before the opening <table> tag.
HeaderText HTML text prepended before the opening <table> tag.
ImageBaseName Base file name used for saved cell images. Defaults to 'image'.
ImageFolder Folder path where cell images are saved during export. Defaults to a subfolder named 'images' next to the HTML file.
NonBreakingText When True, spaces in cell text are replaced with &nbsp; to prevent line-wrapping in browsers. Default is False.
PrefixTag HTML tag or text inserted before each cell's content.
SuffixTag HTML tag or text inserted after each cell's content.
Summary Value for the <table summary> accessibility attribute.
TableBorderSize Value for the <table border> attribute. Default is 1.
TableCellPadding Value for the <table cellpadding> attribute. Default is 0.
TableCellSpacing Value for the <table cellspacing> attribute. Default is 0.
TableStyle Inline CSS style string added to the <table style> attribute.
TableWidth Percentage or pixel value for the <table width> attribute. Default is 100 (percent).
XHTML When True, generates XHTML-compliant output with self-closing tags and lowercase element names. Default is False.

Used by