VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI.VisualTools.GraphicObjects Namespace / RectangularGraphicObject Class / RectangularGraphicObject Constructors / RectangularGraphicObject Constructor(RectangleF,Pen)
Syntax Requirements SeeAlso
In This Topic
    RectangularGraphicObject Constructor(RectangleF,Pen)
    In This Topic
    Initializes a new instance of the RectangularGraphicObject class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal rect
    Bounding box, in object space, of rectangle.
    As System.Drawing.RectangleF, _
    ByVal pen
    The pen that should be used for drawing the rectangle.
    As System.Drawing.Pen _
    )
    public RectangularGraphicObject(
    System.Drawing.RectangleF rect,
    System.Drawing.Pen pen
    )
    public: RectangularGraphicObject(
    System.Drawing.RectangleF* rect,
    System.Drawing.Pen pen
    )
    public:
    RectangularGraphicObject(
    System.Drawing.RectangleF^ rect,
    System.Drawing.Pen pen
    )

    Parameters

    rect
    Bounding box, in object space, of rectangle.
    pen
    The pen that should be used for drawing the rectangle.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also