Back to Devexpress

HtmlDocumentExporterOptions.FontUnit Property

officefileapi-devexpress-dot-xtraspreadsheet-dot-export-dot-htmldocumentexporteroptions.md

latest1.7 KB
Original Source

HtmlDocumentExporterOptions.FontUnit Property

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

Namespace : DevExpress.XtraSpreadsheet.Export

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

NuGet Package : DevExpress.Spreadsheet.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.

|

See Also

ExportToHtml

HtmlDocumentExporterOptions Class

HtmlDocumentExporterOptions Members

DevExpress.XtraSpreadsheet.Export Namespace