Shape := Workbook.Sheets[1].Shapes[1]; Shape.Line.DashStyle := 2;
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