Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxHtmlFontUnit Enum

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

#Declaration

Delphi
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