PdfDocument.AddColoredPattern Method

Adds a new colored tiling pattern to the end of the collection of document patterns.

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

Syntax

C#
public PdfTilingPattern AddColoredPattern(
	double width,
	double height
)
VB
Public Function AddColoredPattern ( 
	width As Double,
	height As Double
) As PdfTilingPattern

Parameters

width
Type: System.Double
The width of pattern cells in pixels.
height
Type: System.Double
The height of pattern cells in pixels.

Return Value

Type: PdfTilingPattern
The newly added colored PdfTilingPattern.

See Also