Click or drag to resize
Pdf Library for .NET

PdfGradient Constructor

Initializes the pdf gradient object.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax
public PdfGradient(
	PdfGradientDirection direction,
	PdfColor start,
	PdfColor end
)

Parameters

direction
Type: SelectPdfPdfGradientDirection
The gradient direction.
start
Type: SelectPdfPdfColor
The start color of the gradient.
end
Type: SelectPdfPdfColor
The end color of the gradient.
See Also