HtmlFixedSaveOptions.ShowPageBorder

HtmlFixedSaveOptions ShowPageBorder property. Specifies whether border around pages should be shown. Default is true.

HtmlFixedSaveOptions.ShowPageBorder property

Specifies whether border around pages should be shown. Default is true.

public bool ShowPageBorder { get; set; }

Examples

Shows how to disable page borders in HtmlFixed format.

HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions();
htmlFixedSaveOptions.ShowPageBorder = false;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "HtmlFixedSaveOptions.ShowPageBorder.html", htmlFixedSaveOptions)
    .Execute();

See Also