API Reference
Class
OdfStrokeDashPattern
An ODF dash pattern with up to two repeated dash lengths and a uniform gap.
Inheritance
- Object
- OdfStrokeDashPattern
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OdfStrokeDash.Pattern
Accepted by parameters
Constructors
public OdfStrokeDashPattern(Int32 dashCount, OdfLength dashLength, OdfLength distance, Int32 secondDashCount = 0, Nullable<OdfLength> secondDashLength = null, Boolean roundCaps = false) #Creates a pattern. Lengths may use absolute ODF units or percentages of stroke width.
Parameters
- dashCount System.Int32
- First sequence count, from zero to 1024.
- dashLength OfficeIMO.OpenDocument.OdfLength
- First sequence dash length; zero is allowed.
- distance OfficeIMO.OpenDocument.OdfLength
- Positive gap between dashes, excluding caps.
- secondDashCount System.Int32 = 0
- Second sequence count; the total count must be between one and 1024.
- secondDashLength System.Nullable{OfficeIMO.OpenDocument.OdfLength} = null
- Second sequence dash length, required when its count is positive.
- roundCaps System.Boolean = false
- Use round caps when the shape has no explicit cap override.
Inherited Methods
Properties
public Int32 DashCount { get; } #Number of dashes in the first sequence.
public OdfLength DashLength { get; } #First dash length, excluding caps.
public OdfLength Distance { get; } #Gap between adjacent dashes, excluding caps.
public Int32 SecondDashCount { get; } #Number of dashes in the second sequence.
public Nullable<OdfLength> SecondDashLength { get; } #Second dash length, excluding caps.
public Boolean RoundCaps { get; } #Whether the definition supplies round caps when the shape does not override them.