HtmlSaveOptions
HtmlSaveOptions constructor. Initializes a new instance of this class that can be used to save a document in the Html format.
HtmlSaveOptions()
Initializes a new instance of this class that can be used to save a document in the Html format.
public HtmlSaveOptions()
See Also
- class HtmlSaveOptions
- namespace Wordize.Saving
- assembly Wordize
HtmlSaveOptions(SaveFormat)
Initializes a new instance of this class that can be used to save a document in the Html, Mhtml, Epub, Azw3 or Mobi format.
public HtmlSaveOptions(SaveFormat saveFormat)
| Parameter | Type | Description |
|---|---|---|
| saveFormat | SaveFormat | Can be Html, Mhtml, Epub, Azw3 or Mobi. |
Examples
Shows how to specify document split criteria.
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions(SaveFormat.Epub);
htmlSaveOptions.DocumentSplitCriteria = HtmlDocumentSplitCriteria.HeadingParagraph;
htmlSaveOptions.DocumentSplitHeadingLevel = 1;
Converter.Create()
.From(MyDir + "TestSpliter.docx")
.To(ArtifactsDir + "HtmlSaveOptions.DocumentSplitCriteria.epub", htmlSaveOptions)
.Execute();
See Also
- enum SaveFormat
- class HtmlSaveOptions
- namespace Wordize.Saving
- assembly Wordize