Skip to content

PdfContentStream.SetRgbFillColor Method

SetRgbFillColor(Double,Double,Double)

Sets the current colorspace for fill operations to DeviceRGB and sets the current RGB color.
Operator: rg

C#
public void SetRgbFillColor(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.