HtmlExportHeadersFootersMode Enum
Wordize.Saving.HtmlExportHeadersFootersMode enum. Specifies how headers and footers are exported to HTML MHTML or EPUB.
HtmlExportHeadersFootersMode enumeration
Specifies how headers and footers are exported to HTML, MHTML or EPUB.
public enum HtmlExportHeadersFootersMode
Values
Name | Value | Description |
---|---|---|
None | 0 | Headers and footers are not exported. |
PerSection | 1 | Primary headers and footers are exported at the beginning and the end of each section. |
FirstSectionHeaderLastSectionFooter | 2 | Primary header of the first section is exported at the beginning of the document and primary footer is at the end. |
FirstPageHeaderFooterPerSection | 3 | First page header and footer are exported at the beginning and the end of each section. |
Examples
Shows how to disable exporting headers/footers to HTML.
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.ExportHeadersFootersMode = HtmlExportHeadersFootersMode.None;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "HtmlSaveOptions.ExportHeadersFootersMode.html", htmlSaveOptions)
.Execute();
See Also
- property ExportHeadersFootersMode
- namespace Wordize.Saving
- assembly Wordize