Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Creates a Shape with the specified position and shape type. The specified shape type must not be Picture, Group, Comment, or Unknown. The new shape is automatically added to the Shapes collection.

Signature
C#
C#
 public Shape CreateShape(ShapeType type, Anchor aPosition)
Signature
vb.net
vb.net
Public Function CreateShape(ByVal type As ShapeType, ByVal aPosition As Anchor) As Shape
Parameters
Param
type
type

A ShapeType value representing the type of shape to create.

Param
aPosition
aPosition

An Anchor object representing the position of the new shape in the worksheet.

Returns

A Shape object representing the new shape.