Skip to main content
A newer version of this page is available. .

DXRichEditMhtDocumentExporterOptions.FontUnit Property

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

Namespace: DevExpress.Xpf.RichEdit

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

Declaration

public HtmlFontUnit FontUnit { get; set; }

Property Value

Type Description
HtmlFontUnit

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

The default is HtmlFontUnit.Point.

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
.MhtOptions.FontUnit
See Also