Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / IDrawingContext Interface / DrawIcon Method
The built-in icon to paint.
Rectangle structure that specifies the boundary of the icon.
Where the icon is placed. Use RectAlignment.Unspecified to full-fill in the rect
The array of GrapeCity.Spreadsheet.Imaging.Filters.Filter.


In This Topic
    DrawIcon Method
    In This Topic
    Draws the built-in icon.
    Syntax
    'Declaration
     
    
    Sub DrawIcon( _
       ByVal builtInIcon As BuiltInIcons, _
       ByVal rect As Rectangle, _
       ByVal alignment As RectAlignment, _
       ByVal filters() As Filter _
    ) 
    'Usage
     
    
    Dim instance As IDrawingContext
    Dim builtInIcon As BuiltInIcons
    Dim rect As Rectangle
    Dim alignment As RectAlignment
    Dim filters() As Filter
     
    instance.DrawIcon(builtInIcon, rect, alignment, filters)

    Parameters

    builtInIcon
    The built-in icon to paint.
    rect
    Rectangle structure that specifies the boundary of the icon.
    alignment
    Where the icon is placed. Use RectAlignment.Unspecified to full-fill in the rect
    filters
    The array of GrapeCity.Spreadsheet.Imaging.Filters.Filter.
    See Also