Skip to main content

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.v24.1.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.

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