Sets the color.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public virtual void SetColor(
	int red,
	int green,
	int blue
)
Visual Basic
Public Overridable Sub SetColor ( _
	red As Integer, _
	green As Integer, _
	blue As Integer _
)
Visual C++
public:
virtual void SetColor(
	int red, 
	int green, 
	int blue
)

Parameters

red
Type: System..::..Int32
the red-value of the new color
green
Type: System..::..Int32
the green-value of the new color
blue
Type: System..::..Int32
the blue-value of the new color

See Also