Pageflex Document Action API
BoundsInPage Property
Namespaces > Pageflex.Scripting > Shape > BoundsInPage
Gets the shape's bounding box relative to its containing page.
Syntax
C# | Visual Basic | Managed C++ |
public Measurement[] BoundsInPage { get; }
Public ReadOnly Property BoundsInPage As Measurement()
public: array<Measurement^>^ BoundsInPage { array<Measurement^>^ get (); }
Remarks
Returns an array of 4 Measurement values, representing the shape's bounding box relative to its containing page.
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)