SetFillPattern(PdfTilingPattern, PdfColor) Method

Definition

Assembly Broadside.dll

Sets an uncoloured tiling pattern, painted in color, as the fill colour (/CSn cs c1 … cn /name scn).

public void SetFillPattern(PdfTilingPattern pattern, PdfColor color)

Parameters

pattern
PdfTilingPattern

A valid uncoloured tiling pattern of this document.

color
PdfColor

The colour the cell is painted in: a colour of a device space, or of a space of this document, not a Pattern space.

Remarks

ISO 32000-2 §8.7.3.3: the colour space is a Pattern space with the colour's space as its underlying space, [/Pattern underlying], named in the ColorSpace resources (one object per underlying space in a document); the colour's components precede the pattern's name as operands of scn. Records PDF 1.2 and the underlying space's version.