DashPatternParse Method

Create a new DashPattern from a string description of alternating ink lengths..

Namespace:  TallComponents.PDF.Pens
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version:
public static DashPattern Parse(
	string pattern
A comma separated list of positive integers.

Return Value

Type: DashPattern
A new dash pattern.

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.

See Also