Pageflex Document Action API
AreaTemplateOval Constructor (parent)
Namespaces > Pageflex.Scripting > AreaTemplateOval > AreaTemplateOvalNew(IShapeContainer)
Creates a new AreaTemplateOval document element with the specified parent IShapeContainer.
Syntax
C# | Visual Basic | Managed C++ |
public AreaTemplateOval ( IShapeContainer parent )
Public Sub New ( _ parent As IShapeContainer _ )
public: AreaTemplateOval ( IShapeContainer^ parent )
Parameters
- parent (IShapeContainer)
- An IShapeContainer object that will be the new AreaTemplateOval's parent Element.
Remarks
Creates a new AreaTemplateOval as the last child of the specified parent, with a default position and size.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The value supplied for parent was nullNothingnullptr. |
StaleScriptingObjectException | The specified parent's associated internal object no longer exists. |
InvalidChildElementTypeException | Cannot construct this element as a child of the specified parent. |
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)