[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.WinForms.Ribbon.Icon.FromFont

FromFont Method

FromFont(Size, Color, string, Font)

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

Declaration
public static Icon FromFont(Size size, Color color, string text, Font font)
Public Shared Function FromFont(size As Size, color As Color, text As String, font As Font) As Icon
Parameters
Type Name Description
Size size

The icon size.

Color color

Indicates the icon color.

string text

The text to show.

Font font

The icon font.

Returns
Type Description
Icon

A new instance of Icon