HtmlSaveOptions.ExportTocPageNumbers
HtmlSaveOptions ExportTocPageNumbers property. Specifies whether to write page numbers to table of contents when saving HTML MHTML and EPUB. Default value is false.
HtmlSaveOptions.ExportTocPageNumbers property
Specifies whether to write page numbers to table of contents when saving HTML, MHTML and EPUB. Default value is false
.
public bool ExportTocPageNumbers { get; set; }
Examples
Shows how to configure Wordize to export page numbers in table of contents to HTML.
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.ExportTocPageNumbers = true;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "HtmlSaveOptions.ExportTocPageNumbers.html", htmlSaveOptions)
.Execute();
See Also
- class HtmlSaveOptions
- namespace Wordize.Saving
- assembly Wordize