Skip to main content

DXRichEditHtmlDocumentExporterOptions.FontUnit Property

Gets or sets the measurement unit to set the font size when exporting to HTML. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

public HtmlFontUnit FontUnit { get; set; }

Property Value

Type Description
HtmlFontUnit

A HtmlFontUnit enumeration value 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
DXRichEditDocumentExportOptions
.HtmlOptions .FontUnit
See Also