Skip to main content
A newer version of this page is available. .

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.v18.2.Core.dll

Declaration

[DefaultValue(1)]
[TypeConverter(typeof(HtmlPageBorderWidthConverter))]
[XtraSerializableProperty]
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
.Html.PageBorderWidth
WPF Controls ExportOptionsContainer
.Html.PageBorderWidth

Remarks

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