Click or drag to resize
Pdf Library for .NET

PdfGradient(PdfGradientDirection, PdfColor, PdfColor) Constructor

Initializes a new instance of the PdfGradient class with the specified direction and colors.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public PdfGradient(
	PdfGradientDirection direction,
	PdfColor start,
	PdfColor end
)

Parameters

direction  PdfGradientDirection
The gradient direction.
start  PdfColor
The start color of the gradient.
end  PdfColor
The end color of the gradient.
See Also