HtmlFixedPageHorizontalAlignment Enum
Wordize.Saving.HtmlFixedPageHorizontalAlignment enum. Specifies the horizontal alignment for pages in output HTML document.
HtmlFixedPageHorizontalAlignment enumeration
Specifies the horizontal alignment for pages in output HTML document.
public enum HtmlFixedPageHorizontalAlignment
Values
| Name | Value | Description |
|---|---|---|
| Left | 0 | Align pages to the left. |
| Center | 1 | Center pages. This is the default value. |
| Right | 2 | Align pages to the right. |
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
- namespace Wordize.Saving
- assembly Wordize