 |
PdfGradient Class |
Represents a linear gradient fill for PDF graphic elements. Assign an instance to a
graphic element's Gradient property to fill it with a two-color gradient.
Inheritance HierarchySystemObject
SelectPdf.UniversalPdfGradient
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
SyntaxThe PdfGradient type exposes the following members.
Constructors
Properties
ExamplePdfRectangleElement rect = new PdfRectangleElement(0, 0, 200, 80);
rect.Gradient = new PdfGradient(PdfGradientDirection.Horizontal,
new PdfColor(255, 0, 0), new PdfColor(0, 0, 255));Dim rect As New PdfRectangleElement(0, 0, 200, 80)
rect.Gradient = New PdfGradient(PdfGradientDirection.Horizontal,
New PdfColor(255, 0, 0), New PdfColor(0, 0, 255))
See Also