Sets the color of the background Chunk.

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

Syntax

C#
public Chunk SetBackground(
	Color color
)
Visual Basic
Public Function SetBackground ( _
	color As Color _
) As Chunk
Visual C++
public:
Chunk^ SetBackground(
	Color^ color
)

Parameters

color
Type: iTextSharp.text..::..Color
the color of the background

Return Value

this Chunk

See Also