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

NameValueDescription
Left0Align pages to the left.
Center1Center pages. This is the default value.
Right2Align 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