PDF Plugin for Xojo |

# Page.SetDashPattern Method (console safe)

The phase which the pattern starts in.

SetDashPattern(
dashPattern() as Single,
phase as Single)

#### Parameters

dashPattern()
  The pattern definition. This should be array with 1 element, 2, 4, 6 or 8 elements. If it gets any other size then it will discard elements to fit within the rule set.
phase
  The phase which the pattern starts in.

#### Remarks

The patterns above are created like this:

Var pattern(0) as Single
pattern(0) = 3
myPage.SetDashPattern(pattern,0)
myPage.SetLineWidth(0.0)
and:
Var pattern(1) as Single
pattern(0) = 2
pattern(1) = 10
myPage.SetDashPattern(pattern,1)
myPage.SetLineWidth(1.0)

#### See Also

Page Class