VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.UI.VisualTools.GraphicObjects Namespace / RectangularGraphicObject Class / RectangularGraphicObject Constructors / RectangularGraphicObject Constructor(RectangleF,Pen,Brush)
Syntax Requirements SeeAlso
In This Topic
RectangularGraphicObject Constructor(RectangleF,Pen,Brush)
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, _
ByVal brush
The brush that should be used for filling rectangle.
As System.Drawing.Brush _
)
public RectangularGraphicObject(
System.Drawing.RectangleF rect,
System.Drawing.Pen pen,
System.Drawing.Brush brush
)

Parameters

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

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

See Also