Skip to main content

HtmlDocumentExporterOptions.FontUnit Property

Gets or sets the measurement unit to specify font size when exporting to HTML.

Namespace: DevExpress.XtraRichEdit.Export

Assembly: DevExpress.RichEdit.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

[DefaultValue(HtmlFontUnit.Point)]
public HtmlFontUnit FontUnit { get; set; }

Property Value

Type Default Description
HtmlFontUnit Point

A HtmlFontUnit enumeration member specifying the unit for the font size.

Available values:

Name Description
Point

Font size specified in points.

Pixel

Font size specified in pixels.

Property Paths

You can access this nested property as listed below:

Object Type Path to FontUnit
RichEditDocumentExportOptions
.Html .FontUnit
See Also