Page tree
Skip to end of metadata
Go to start of metadata

Description

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.

C#
vb.net

Parameters

type
A ShapeType value representing the type of shape to create.
aPosition
An Anchor object representing the position of the new shape in the worksheet.

Returns

A Shape object representing the new shape.
  • No labels