[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.WinForms.Ribbon.Icon.FromImage

FromImage Method

FromImage(Size, Color, Image)

Creates a new instance of Icon with with specified key, size, color and image.

Declaration
public static Icon FromImage(Size size, Color color, Image image)
Public Shared Function FromImage(size As Size, color As Color, image As Image) As Icon
Parameters
Type Name Description
Size size

The icon size.

Color color

Indicates the icon color.

Image image

The image to show.

Returns
Type Description
Icon

A new instance of Icon