ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearRectangle Structure / ImGearRectangle Constructor / ImGearRectangle Constructor(IImGearPoint,IImGearPoint)
Used to initialize Left and Top points of the rectangle.
Used to initialize Right and Bottom points of the rectangle.




In This Topic
    ImGearRectangle Constructor(IImGearPoint,IImGearPoint)
    In This Topic
    Initializes a new instance of the ImGearRectangle struct.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal leftTop As IImGearPoint, _
       ByVal rightBottom As IImGearPoint _
    )
    'Usage
     
    Dim leftTop As IImGearPoint
    Dim rightBottom As IImGearPoint
     
    Dim instance As New ImGearRectangle(leftTop, rightBottom)
    public ImGearRectangle( 
       IImGearPoint leftTop,
       IImGearPoint rightBottom
    )
    public: ImGearRectangle( 
       IImGearPoint* leftTop,
       IImGearPoint* rightBottom
    )
    public:
    ImGearRectangle( 
       IImGearPoint^ leftTop,
       IImGearPoint^ rightBottom
    )

    Parameters

    leftTop
    Used to initialize Left and Top points of the rectangle.
    rightBottom
    Used to initialize Right and Bottom points of the rectangle.
    See Also