Skip to main content

HtmlDocumentExporterOptions.FontUnit Property

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

Namespace: DevExpress.XtraSpreadsheet.Export

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

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.

See Also