HotXLS Docs

DashStyle property

Gets or sets the line dashing style for the shape border

Syntax

property DashStyle: LongWord;

Example

This example sets the dash style of the shape border

Shape := Workbook.Sheets[1].Shapes[1];
Shape.Line.DashStyle := 2;

Custom patterns and presets

DashStyle selects the existing preset domain; use CustomDashPattern for the represented arbitrary unsigned multiplier array

A solid preset value alone does not prove the absence of a custom pattern; selecting a preset explicitly suppresses the represented inherited custom state while keeping the preset API's line-cap behavior