Click or drag to resize
Pdf Library for .NET

PdfGradient(PdfColor, PdfColor, PdfGradientDirection) Constructor

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

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

Parameters

startColor  PdfColor
The start color.
endColor  PdfColor
The end color.
direction  PdfGradientDirection
The gradient direction.
See Also