VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI.VisualTools.GraphicObjects Namespace / WpfRectangularGraphicObject Class / WpfRectangularGraphicObject Constructors / WpfRectangularGraphicObject Constructor(Rect,Pen)
Syntax Requirements SeeAlso
In This Topic
    WpfRectangularGraphicObject Constructor(Rect,Pen)
    In This Topic
    Initializes a new instance of the WpfRectangularGraphicObject class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal rect
    Bounding box, in object space, of rectangle.
    As System.Windows.Rect, _
    ByVal pen
    The pen that should be used for drawing the rectangle.
    As System.Windows.Media.Pen _
    )
    public WpfRectangularGraphicObject(
    System.Windows.Rect rect,
    System.Windows.Media.Pen pen
    )
    public: WpfRectangularGraphicObject(
    System.Windows.Rect* rect,
    System.Windows.Media.Pen* pen
    )
    public:
    WpfRectangularGraphicObject(
    System.Windows.Rect^ rect,
    System.Windows.Media.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