DXRichEditHtmlDocumentExporterOptions.UseFontSubstitution Property
Gets or sets whether missing fonts are substituted. This is a dependency property.
Namespace: DevExpress.Xpf.RichEdit
Assembly: DevExpress.Xpf.RichEdit.v24.2.dll
NuGet Package: DevExpress.Wpf.RichEdit
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to substitute fonts missing in the system; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to UseFontSubstitution |
---|---|
DXRichEditDocumentExportOptions |
|
Remarks
If the original fonts specified in the document are missing in the system, they are automatically substituted with available fonts. So the fonts in the exported HTML file may be different from the document fonts.
Set the UseFontSubstitution option to false to retain the original font names even if the fonts are missing.
See Also