Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / IDrawingSurface 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
    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 IDrawingSurface
    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