Skip to content

PdfContentStream.SetStrokeColorN Method

Overloads

Name Description
SetStrokeColorN(Double[]) Sets the current stroke color.
Operator: SCN
SetStrokeColorN(PdfPattern) Sets the current stroke color.
Operator: scn
SetStrokeColorN(Double[],PdfPattern) Sets the current stroke color and pattern.
Operator: SCN

SetStrokeColorN(Double[])

Sets the current stroke color.
Operator: SCN

C#
public void SetStrokeColorN(Double[] color)

Parameters

color Double[]

The color components.

Remarks

The number of color components in the array must match the number of color components expected by the active colorspace.

SetStrokeColorN(PdfPattern)

Sets the current stroke color.
Operator: scn

C#
public void SetStrokeColorN(PdfPattern pattern)

Parameters

pattern PdfPattern

The pattern used as stroke color.

SetStrokeColorN(Double[],PdfPattern)

Sets the current stroke color and pattern.
Operator: SCN

C#
public void SetStrokeColorN(Double[] color, PdfPattern pattern)

Parameters

color Double[]

The color components.

pattern PdfPattern

The pattern used as fill color.

Remarks

The number of color components in the array must match the number of color components expected by the active colorspace.