[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.CustomBorderStyle.BorderWidth

BorderWidth Property

BorderWidth

Gets or sets the width of a border when exporting to PDF.

Use this property to retrieve or assign the custom width configured for this border style before the style is applied through BorderOptions.

Declaration
public double BorderWidth { get; set; }
Public Property BorderWidth As Double
Examples
PdfSaveOptions options = new PdfSaveOptions();
CustomBorderStyle borderStyle = new CustomBorderStyle();
borderStyle.BorderWidth = 0.4;
options.BorderOptions[BorderLineStyle.Thin] = borderStyle;
double borderWidth = options.BorderOptions[BorderLineStyle.Thin].BorderWidth;