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

SetArea Method (Rectangle)
Sets the size of a rectangle using the coordinates of the two opposite corners
Syntax
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