Create a new DashPattern from a string description of alternating ink lengths..
Namespace: TallComponents.PDF.Layout.PensAssembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0
Syntax
| C# |
|---|
public static DashPattern Parse( string pattern ) |
| Visual Basic |
|---|
Public Shared Function Parse ( _ pattern As String _ ) As DashPattern |
Parameters
- pattern
- Type: System..::..String
A comma separated list of positive integers.
Return Value
A new dash pattern.
Remarks
This method is provided to enable DashPatterns to be specified in XML.
The string must be formatted as a list of comma separated positive integers. Each value is a length of alternating ink or whitespace.
The phase defaults to 0.