[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.CustomBorderStyle.Dashes

Dashes Property

Dashes

Gets or sets the dash pattern used for the custom border style.

Each item in the list records the length of one segment in the dashed line pattern configured for PDF export.

Declaration
public List<double> Dashes { get; set; }
Public Property Dashes As List(Of Double)
Examples
PdfSaveOptions options = new PdfSaveOptions();
CustomBorderStyle borderStyle = new CustomBorderStyle();
List<double> dashes = new List<double>();
dashes.Add(3.0);
dashes.Add(1.5);
borderStyle.Dashes = dashes;
options.BorderOptions[BorderLineStyle.Dashed] = borderStyle;
List<double> dashPattern = options.BorderOptions[BorderLineStyle.Dashed].Dashes;