Spread Windows Forms 12.0 Product Documentation
GetPatternBrush Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.Extensions.Gdi Namespace > GdiExtensions Class : GetPatternBrush Method
A GrapeCity.Spreadsheet.Fill value represents the fill data
A GrapeCity.Spreadsheet.Workbook value represents the workbook.
Create a System.Drawing.Brush instance from the pattern fill.
Syntax
'Declaration
 
Public Shared Function GetPatternBrush( _
   ByRef fill As Fill, _
   ByVal workbook As IWorkbook _
) As Brush
'Usage
 
Dim fill As Fill
Dim workbook As IWorkbook
Dim value As Brush
 
value = GdiExtensions.GetPatternBrush(fill, workbook)
public static Brush GetPatternBrush( 
   ref Fill fill,
   IWorkbook workbook
)

Parameters

fill
A GrapeCity.Spreadsheet.Fill value represents the fill data
workbook
A GrapeCity.Spreadsheet.Workbook value represents the workbook.

Return Value

The created drawing brush.
See Also

Reference

GdiExtensions Class
GdiExtensions Members