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

HtmlFontSize.Unit Property

Gets the unit of the specified font size value.

Namespace: DevExpress.Maui.HtmlEditor

Assembly: DevExpress.Maui.HtmlEditor.dll

NuGet Package: DevExpress.Maui.HtmlEditor

#Declaration

C#
public HtmlSizeUnit Unit { readonly get; set; }

#Property Value

Type Description
HtmlSizeUnit

The unit of the font size.

Available values:

Name Description
Points

Points (1pt = 1/72 of 1in).

Pixels

Pixels (1px = 1/96th of 1in).

Inches

Inches (1in = 96px = 2.54cm).

Millimeters

Millimeters.

Centimeters

Centimeters.

Picas

Picas (1pc = 12 pt).

Percent

Percent.

See Also