Gets or sets the pattern to be used for stroking.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfPattern Pattern { get; set; }
VB
Public Property Pattern As PdfPattern
	Get
	Set

Property Value

Type: PdfPattern
The pattern to be used for stroking.

Remarks

Default value: null.

Setting this property to an instance of a colored PdfTilingPattern causes the Color property to be set to null. Setting this property to an instance of an uncolored PdfTilingPattern causes the Color property to be set to the default color of the uncolored tiling pattern's underlying color space if color space of current pen color do not match the underlying color space of the uncolored pattern being set. If color space of current pen color and the underlying color space of the uncolored tiling pattern being set do match then current pen color won't be changed. Setting this property to null causes the Color property to be set to default RGB color if current pattern was an instance of a colored PdfTilingPattern.

See Also