InputPanel for WinForms | ComponentOne
C1.Win.8 Assembly / C1.Framework Namespace / IconRenderer Class / CreateRenderer Method
The icon to render.
The device dpi where the image will be used.

In This Topic
    CreateRenderer Method (IconRenderer)
    In This Topic
    Creates an instance of the inheritor of IconRenderer class in accordance with the C1Icon type.
    Syntax
    'Declaration
     
    Public Shared Function CreateRenderer( _
       ByVal icon As C1Icon, _
       Optional ByVal deviceDpi As Integer _
    ) As IconRenderer
    public static IconRenderer CreateRenderer( 
       C1Icon icon,
       int deviceDpi
    )

    Parameters

    icon
    The icon to render.
    deviceDpi
    The device dpi where the image will be used.
    See Also