VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI.VisualTools Namespace / WpfRectangularSelection Class / SetRectangle(Double,Double,Double,Double) Method
Syntax Requirements SeeAlso
In This Topic
    SetRectangle(Double,Double,Double,Double) Method (WpfRectangularSelection)
    In This Topic
    Sets a rectangle of interactive object.
    Syntax
    'Declaration
    
    Public Sub SetRectangle( _
    ByVal x0
    Left-top X coordinate of rectangle.
    As Double, _
    ByVal y0
    Left-top Y coordinate of rectangle.
    As Double, _
    ByVal x1
    Right-bottom X coordinate of rectangle.
    As Double, _
    ByVal y1
    Right-bottom Y coordinate of rectangle.
    As Double _
    )
    public void SetRectangle(
    double x0,
    double y0,
    double x1,
    double y1
    )
    public: void SetRectangle(
    double x0,
    double y0,
    double x1,
    double y1
    )
    public:
    void SetRectangle(
    double x0,
    double y0,
    double x1,
    double y1
    )

    Parameters

    x0
    Left-top X coordinate of rectangle.
    y0
    Left-top Y coordinate of rectangle.
    x1
    Right-bottom X coordinate of rectangle.
    y1
    Right-bottom Y coordinate of rectangle.
    Requirements

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

    See Also