API Help
Eplan.EplApi.DataModel.Graphics Namespace / Rectangle Class / SetArea Method
First corner of the rectangle
Second corner of the rectangle

In This Topic
    SetArea Method (Rectangle)
    In This Topic
    Sets the size of a rectangle using the coordinates of the two opposite corners
    Syntax
    public virtual void SetArea( 
       PointD pntStart,
       PointD pntEnd
    )
    public:
    virtual void SetArea( 
       PointD pntStart,
       PointD pntEnd
    ) 

    Parameters

    pntStart
    First corner of the rectangle
    pntEnd
    Second corner of the rectangle
    Exceptions
    ExceptionDescription
    Thrown when the area cannot be set.
    See Also