Spread Windows Forms 12.0 Product Documentation
ToGdiGrayscaleBrush Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.Extensions.Gdi Namespace > GdiExtensions Class : ToGdiGrayscaleBrush Method
Syntax
'Declaration
 
Public Shared Function ToGdiGrayscaleBrush( _
   ByVal fill As Fill, _
   ByVal workbook As IWorkbook, _
   ByRef r As Rectangle, _
   ByRef disposable As Boolean _
) As Brush
'Usage
 
Dim fill As Fill
Dim workbook As IWorkbook
Dim r As Rectangle
Dim disposable As Boolean
Dim value As Brush
 
value = GdiExtensions.ToGdiGrayscaleBrush(fill, workbook, r, disposable)
public static Brush ToGdiGrayscaleBrush( 
   Fill fill,
   IWorkbook workbook,
   ref Rectangle r,
   out bool disposable
)

Parameters

fill
workbook
r
disposable
See Also

Reference

GdiExtensions Class
GdiExtensions Members