Back to Devexpress

HtmlDocumentExporterOptions.FontUnit Property

officefileapi-devexpress-dot-xtrarichedit-dot-export-dot-htmldocumentexporteroptions-eaa8a934.md

latest1.9 KB
Original Source

HtmlDocumentExporterOptions.FontUnit Property

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

Namespace : DevExpress.XtraRichEdit.Export

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[DefaultValue(HtmlFontUnit.Point)]
public HtmlFontUnit FontUnit { get; set; }
vb
<DefaultValue(HtmlFontUnit.Point)>
Public Property FontUnit As HtmlFontUnit

Property Value

TypeDefaultDescription
HtmlFontUnitPoint

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

|

Available values:

NameDescription
Point

Font size specified in points.

| | Pixel |

Font size specified in pixels.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to FontUnit
RichEditDocumentExportOptions

.Html .FontUnit

|

See Also

HtmlDocumentExporterOptions Class

HtmlDocumentExporterOptions Members

DevExpress.XtraRichEdit.Export Namespace