BoundsInContainer Property
From Pageflex Document Action API
Pageflex Document Action API
BoundsInContainer Property
Namespaces > Pageflex.Scripting > Shape > BoundsInContainer
Gets the shape's bounding box relative to its Container.
| C# | Visual Basic | Managed C++ |
public Measurement[] BoundsInContainer { get; }
Public ReadOnly Property BoundsInContainer As Measurement()
public: array<Measurement^>^ BoundsInContainer { array<Measurement^>^ get (); }
Returns an array of 4 Measurement values, representing the shape's bounding box relative to its containing shape.
Elements 0-3 of the array represent in turn X1, Y1, X2, Y2 of the bounding box, where (X1,Y1) is the top left and (X2,Y2) is the bottom right
of the bounding box.
| Exception | Condition |
|---|---|
| ElementNotVisibleException | The referenced shape is not Visible. |
| StaleScriptingObjectException | This object's associated internal object no longer exists. |
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)