Skip to main content

HtmlExportOptionsBase.PageBorderWidth Property

Gets or sets the width (in pixels) of page borders when a document is exported to HTML page-by-page.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public int PageBorderWidth { get; set; }

Property Value

Type Default Description
Int32 1

An integer value which represents the page border width.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to PageBorderWidth
Cross-Platform Class Library ExportOptions
WPF Controls ExportOptionsContainer


Use the HtmlExportOptionsBase.PageBorderColor and PageBorderWidth properties to specify the appearance of page borders when a document is exported to HTML. Note that these properties are in effect only if the HtmlExportOptionsBase.ExportMode property is equal to either HtmlExportMode.SingleFilePageByPage or HtmlExportMode.DifferentFiles values.

See Also