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

SetArea Method (Image)
Sets the size of a rectangle using the coordinates of the two opposite corners
Syntax
public override 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.
Remarks
The representation of the image will be distorted, if the aspect ratio of the rectangle does not match the aspect ratio of the original image.
See Also