'Declaration Public Shared Function GetGradientBrush( _ ByRef gradientFillEffect As GradientFillEffect, _ ByVal workbook As IWorkbook, _ ByRef r As Rectangle, _ ByRef disposable As Boolean _ ) As Brush
'Usage Dim gradientFillEffect As GradientFillEffect Dim workbook As IWorkbook Dim r As Rectangle Dim disposable As Boolean Dim value As Brush value = GdiExtensions.GetGradientBrush(gradientFillEffect, workbook, r, disposable)
public static Brush GetGradientBrush( ref GradientFillEffect gradientFillEffect, IWorkbook workbook, ref Rectangle r, out bool disposable )
Parameters
- gradientFillEffect
- A GrapeCity.Spreadsheet.GradientFillEffect value represent the gradient effect
- workbook
- A GrapeCity.Spreadsheet.Workbook value represents the workbook.
- r
- A System.Drawing.Rectangle structure that specifies the bounds of the gradient effect.
- disposable
- A System.Boolean value represent that the brush should be disposabled after creating
Return Value
The created drawing brush.