Eplan Platform API
Eplan.EplApi.DataModel Namespace / Placement Class / GetBoundingBox Method

In This Topic
    GetBoundingBox Method (Placement)
    In This Topic
    Placement bounding box. Bounding box is a rectangle which contain this placement. It can be also used to determine placement size.
    Syntax
    public virtual PointD[] GetBoundingBox()
    public:
    virtual array<PointD>^ GetBoundingBox(); 

    Return Value

    Two points are always returned. First one is a lower-left corner and second is upper-right corner of bounding box.
    Exceptions
    ExceptionDescription
    Thrown when something went wrong in internal function.
    Thrown when bounding box cannot be calculated.
    Remarks
    In order to use function GetBoundingBox property Page can't be null.
    See Also