HtmlSaveOptions.ExportLanguageInformation
HtmlSaveOptions ExportLanguageInformation property. Specifies whether language information is exported to HTML MHTML or EPUB. Default is false.
HtmlSaveOptions.ExportLanguageInformation property
Specifies whether language information is exported to HTML, MHTML or EPUB. Default is false
.
public bool ExportLanguageInformation { get; set; }
Remarks
When this property is set to true
Wordize outputs lang HTML attribute on the document elements that specify language. This can be needed to preserve language related semantics.
Examples
Shows how to enable exporting language information to HTML.
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.ExportLanguageInformation = true;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "HtmlSaveOptions.ExportLanguageInformation.html", htmlSaveOptions)
.Execute();
See Also
- class HtmlSaveOptions
- namespace Wordize.Saving
- assembly Wordize