Skip to content

PdfContentStream.SetRgbStrokeColor Method

SetRgbStrokeColor(Double,Double,Double)

Sets the current colorspace for stroke operations to DeviceRGB and sets the current RGB color.
Operator: RG

C#
public void SetRgbStrokeColor(double r, double g, double b)

Parameters

r Double

Red level.

g Double

Green level

b Double

Blue level

Remarks

The r, g, b values are in (0, 1) range.