PdfDocument.AddUncoloredPattern Method

Adds a new uncolored tiling pattern with specified underlying color space 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 AddUncoloredPattern(
	double width,
	double height,
	PdfColorSpace colorSpace
)
VB
Public Function AddUncoloredPattern ( 
	width As Double,
	height As Double,
	colorSpace As PdfColorSpace
) 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.
colorSpace
Type: BitMiracle.Docotic.Pdf.PdfColorSpace
The underlying color space in which the actual color of the pattern is to be specified.

Return Value

Type: PdfTilingPattern
The newly added uncolored PdfTilingPattern.

See Also