Message-ID: <394176321.8883.1711666594958.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8882_271030344.1711666594958" ------=_Part_8882_271030344.1711666594958 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Shapes.AddShape(Shape)

Shapes.AddShape(Shape)

Description

=20

Adds the specified Shape object to t= he Shapes collection.

=20
C#
=20
 public void AddShape(Shape shape)
=20
=20
vb.net
=20
Public Sub AddShape(ByVal shape As Shape)
=20
=20

Parameters

=20
shape
The=20 Shape object to add to the collection.=20

Remarks

In Office File Forma= t 2007 (.xlsx, .xlsm, etc) files, this will create a copy of the shape and = add it to the worksheet. This allows you to add a shape from one workbook t= o a different workbook, or to create a copy of the shape within a single wo= rkbook. The shape's settings will be preserved, and the new shape will be l= ocated at the same location in the new worksheet as the original shape was = located in its worksheet. If you wish to move it, you can set the=20 Shape.Position property to a new location within the worksheet.
------=_Part_8882_271030344.1711666594958--