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: 3.48.0.0 (3.48.0.0)
Syntax
public PdfColor(
	Color drawingColor
)

Parameters

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

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