Back to DOM
PresetLineDashValuesEnum
Definition
- Namespace
- DOM.Enums
- Assembly
- DOM.dll
Specifies a preset dash pattern for a line.
Remarks
Used by and . The values include both fixed presets (solid, dot, dash) and system-defined variants (SysDot, SysDash, SystemDashDot, SystemDashDotDot). OutLine.Dashtype TextOutlineEffect.presetLineDash
Examples
csharp
1// 1. Solid line
2var line = new OutLine { Dashtype = PresetLineDashValues.Solid };
3
csharp
1// 2. Dotted line
2var line = new OutLine { Dashtype = PresetLineDashValues.Dot };
3
csharp
1// 3. Dashed line
2var line = new OutLine { Dashtype = PresetLineDashValues.Dash };
3
csharp
1// 4. Dash-dot-dot line
2var line = new OutLine { Dashtype = PresetLineDashValues.LongDashDotDot };
3
Fields
Dash
Dash pattern ("dash").
DashDot
Dash-dot pattern ("dashDot").
Dot
Dot pattern ("dot").
LongDash
Long dash pattern ("lgDash").
LongDashDot
Long dash-dot pattern ("lgDashDot").
LongDashDotDot
Long dash-dot-dot pattern ("lgDashDotDot").
Solid
Solid line ("solid").
SysDash
System dash pattern ("sysDash").
SysDot
System dot pattern ("sysDot").
SystemDashDot
System dash-dot pattern ("sysDashDot").
SystemDashDotDot
System dash-dot-dot pattern ("sysDashDotDot").