Ribbon for WinForms | ComponentOne
C1.Framework Namespace / VectorIconElement Class / ViewBox Property

In This Topic
    ViewBox Property (VectorIconElement)
    In This Topic
    Gets or sets the rectangle (in the icon coordinates) which will determine image placement.
    Syntax
    'Declaration
     
    
    Public Property ViewBox As Rectangle
    public Rectangle ViewBox {get; set;}
    Remarks
    Don't set this property if you want to autosize icon according to the C1Icon element bounds.
    See Also