Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / IDrawingContext Interface / GetIcon Method
The built-in icon to get data.
true to get a modifiable GrapeCity.Spreadsheet.Imaging.WriteableBitmap object; otherwise, the GrapeCity.Spreadsheet.Imaging.WriteableBitmap is for painting only.


In This Topic
    GetIcon Method (IDrawingContext)
    In This Topic
    Gets the bitmap data of the specified built-in icon.
    Syntax
    'Declaration
     
    
    Function GetIcon( _
       ByVal builtInIcon As BuiltInIcons, _
       ByVal modifiable As Boolean _
    ) As WriteableBitmap
    'Usage
     
    
    Dim instance As IDrawingContext
    Dim builtInIcon As BuiltInIcons
    Dim modifiable As Boolean
    Dim value As WriteableBitmap
     
    value = instance.GetIcon(builtInIcon, modifiable)
    WriteableBitmap GetIcon( 
       BuiltInIcons builtInIcon,
       bool modifiable
    )

    Parameters

    builtInIcon
    The built-in icon to get data.
    modifiable
    true to get a modifiable GrapeCity.Spreadsheet.Imaging.WriteableBitmap object; otherwise, the GrapeCity.Spreadsheet.Imaging.WriteableBitmap is for painting only.

    Return Value

    The bitmap data of the built-in icon
    See Also