HtmlSaveOptions.ExportPageMargins
HtmlSaveOptions ExportPageMargins property. Specifies whether page margins is exported to HTML MHTML or EPUB. Default is false.
HtmlSaveOptions.ExportPageMargins property
Specifies whether page margins is exported to HTML, MHTML or EPUB. Default is false
.
public bool ExportPageMargins { get; set; }
Remarks
Wordize does not show area of page margins by default. If any elements are completely or partially clipped by the document edge the displayed area can be extended with this option.
Examples
Shows how enable exporting page margins and page setup to HTML.
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.ExportPageMargins = true;
htmlSaveOptions.ExportPageSetup = true;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "HtmlSaveOptions.ExportPageMargins.html", htmlSaveOptions)
.Execute();
See Also
- class HtmlSaveOptions
- namespace Wordize.Saving
- assembly Wordize