Click or drag to resize

PdfColor Constructor

Create an instance of a PDF color object for use with a PdfObject

Namespace:  RadPdf.Data.Document.Common
Assembly:  RadPdf (in RadPdf.dll) Version: (
public PdfColor(
	Color drawingColor


Type: System.DrawingColor
.NET framework System.Drawing Color structure

If the alpha component of the drawingColor is less than 128, the created PdfColor will be considered transparent. Otherwise, the alpha component is removed and the resulting PdfColor is fully opaque.

If the object is a PdfShape, you can use the Opacity property to create a semi-transparent object.

See Also