Skip to main content

TdxHtmlFontUnit Enum

Enumerates measurement units that specify all font sizes in an exported HTML file.

Declaration

TdxHtmlFontUnit = (
    Point,
    Pixel
);

Members

Name
Point
Pixel

Remarks

Options include:

Value Description
Point Sets typographic points as measurement units for font sizes in the resulting HTML document. A typographic point equals 1/72 of an inch.
Pixel Sets pixels as measurement units for fonts in exported documents.

The Rich Edit control’s Options.Export.Html.FontUnit property references the TdxHtmlFontUnit type.

Note

TdxHtmlFontUnit is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxHtmlFontUnit.Point (in Delphi) or TdxHtmlFontUnit::Point (in C++Builder) to refer to the Point value in code.

See Also