Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / PropertyPlacement Class / GetBoundingBox Method / GetBoundingBox(Boolean) Method
If set to false, the absolute bounding box points will be returned.

In This Topic
    GetBoundingBox(Boolean) Method
    In This Topic
    PropertyPlacement bounding box. Bounding box is a rectangle that contains this placement. It can also be used to determine the placement size.
    Syntax
    public virtual PointD[] GetBoundingBox( 
       bool relative
    )
    public:
    virtual array<PointD>^ GetBoundingBox( 
       bool relative
    ) 

    Parameters

    relative
    If set to false, the absolute bounding box points will be returned.

    Return Value

    Two points are always returned. The first one is the lower-left corner and the second is the upper-right corner of the bounding box.
    Exceptions
    ExceptionDescription
    Thrown when something went wrong in internal function.
    Thrown when bounding box cannot be calculated.
    See Also