HtmlFixedSaveOptions.PageHorizontalAlignment
HtmlFixedSaveOptions PageHorizontalAlignment property. Specifies the horizontal alignment of pages in an HTML document. Default value is Center.
HtmlFixedSaveOptions.PageHorizontalAlignment property
Specifies the horizontal alignment of pages in an HTML document. Default value is Center.
public HtmlFixedPageHorizontalAlignment PageHorizontalAlignment { get; set; }
Examples
Shows how to specify page horizontal alignment in HtmlFixed format.
HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions();
htmlFixedSaveOptions.PageHorizontalAlignment = HtmlFixedPageHorizontalAlignment.Left;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "HtmlFixedSaveOptions.PageHorizontalAlignment.html", htmlFixedSaveOptions)
.Execute();
See Also
- enum HtmlFixedPageHorizontalAlignment
- class HtmlFixedSaveOptions
- namespace Wordize.Saving
- assembly Wordize