Gets the IShapeContainer shape or page which geometrically contains this shape.
Syntax
C# | Visual Basic | Managed C++ |
public IShapeContainer Container { get; }
Public ReadOnly Property Container As IShapeContainer
public: IShapeContainer^ Container { IShapeContainer^ get (); }
Remarks
Returns the IShapeContainer shape or page which geometrically contains this shape.
The container will be the same as this shape's ParentElement unless this shape is part of a text stream.
Returns nullNothingnullptr if this shape is in a text stream's overflow.
Exceptions
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)