Ribbon for WinForms | ComponentOne
C1.Framework Namespace / PolygonIconRenderer Class / PolygonIconRenderer Constructor
The icon to render.
The device dpi where the image will be used.

In This Topic
    PolygonIconRenderer Constructor
    In This Topic
    Creates an instance of the inheritor of PolygonIconRenderer class in accordance with the C1Icon type.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal icon As C1PolygonIcon, _
       Optional ByVal deviceDpi As Integer _
    )
    public PolygonIconRenderer( 
       C1PolygonIcon icon,
       int deviceDpi
    )

    Parameters

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