Skip to content

AddShape

Adds a shape.

1
myInlineCollection.AddShape(shapeType: string, options?: object):`ElementType` : string

Hidden : boolean
Gets or sets whether the drawing element is hidden.

MetaData : Description : string
Gets or sets the drawing description.

Name : string
Gets or sets the drawing name.

Title : string
Gets or sets the drawing title.
Gets the drawing metadata.

ShapeType : ( "Custom" | "Diamond" | "DownArrow" | "FlowchartConnector" | "FlowchartDecision" | "FlowchartManualInput" | "FlowchartProcess" | "Hexagon" | "IsoscelesTriangle" | "LeftArrow" | "LeftRightArrow" | "Line" | "Octagon" | "Oval" | "OvalCallout" | "Parallelogram" | "Pentagon" | "PentagonArrow" | "Rectangle" | "RectangularCallout" | "RightArrow" | "RightTriangle" | "RoundDiagonalCornerRectangle" | "RoundedRectangle" | "RoundedRectangularCallout" | "RoundSameSideCornerRectangle" | "RoundSingleCornerRectangle" | "SnipSingleCornerRectangle" | "SnipDiagonalCornerRectangle" | "TextPath" | "Trapezoid" | "UpArrow" | "UpDownArrow" )
Gets the shape type.

Clone() : T

GetChildElements(recursively: boolean) : Array<T>

GetParentElements() : Array<T>

Parameters

string shapeType

object options optional