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


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)
ParameterTypeDescription
saveFormatSaveFormatCan 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