Spread Windows Forms 17
GrapeCity.Spreadsheet.WinForms.Ribbon Assembly / GrapeCity.Spreadsheet.WinForms.Ribbon Namespace / Icon Class / FromImage Method
The icon size.
Indicates the icon color.
The image to show.


In This Topic
    FromImage Method
    In This Topic
    Creates a new instance of Icon with with specified key, size, color and image.
    Syntax
    'Declaration
     
    
    Public Shared Function FromImage( _
       ByVal size As Size, _
       ByVal color As Color, _
       ByVal image As Image _
    ) As Icon
    'Usage
     
    
    Dim size As Size
    Dim color As Color
    Dim image As Image
    Dim value As Icon
     
    value = Icon.FromImage(size, color, image)
    public static Icon FromImage( 
       Size size,
       Color color,
       Image image
    )

    Parameters

    size
    The icon size.
    color
    Indicates the icon color.
    image
    The image to show.
    See Also