InputPanel for WinForms | ComponentOne
C1.Win.5 Assembly / C1.Framework Namespace / C1FontIcon Class / C1FontIcon Constructor / C1FontIcon Constructor(String,Size,Color,String,Font)
String used as a key to retrieve the image.
The icon size.
Indicates the icon color.
The text to show.
The icon font.

In This Topic
    C1FontIcon Constructor(String,Size,Color,String,Font)
    In This Topic
    Initializes a new instance of the C1FontIcon class with specified key, size and color.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal key As String, _
       ByVal size As Size, _
       ByVal color As Color, _
       ByVal text As String, _
       ByVal font As Font _
    )
    public C1FontIcon( 
       string key,
       Size size,
       Color color,
       string text,
       Font font
    )

    Parameters

    key
    String used as a key to retrieve the image.
    size
    The icon size.
    color
    Indicates the icon color.
    text
    The text to show.
    font
    The icon font.
    See Also