Pageflex Document Action API
BoundsInContainer Property
Namespaces > Pageflex.Scripting > Shape > BoundsInContainer
Gets the shape's bounding box relative to its Container.
Syntax
C# | Visual Basic | Managed C++ |
public Measurement[] BoundsInContainer { get; }
Public ReadOnly Property BoundsInContainer As Measurement()
public: array<Measurement^>^ BoundsInContainer { array<Measurement^>^ get (); }
Remarks
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.
Exceptions
Exception | Condition |
---|---|
ElementNotVisibleException | The referenced shape is not Visible. |
StaleScriptingObjectException | This object's associated internal object no longer exists. |
See Also
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)