AddShape Method

Office Open XML

Add a new shape to the worksheet

Namespace:  OfficeOpenXml.Drawing
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public ExcelShape AddShape(
	string Name,
	eShapeStyle Style
)
Visual Basic (Declaration)
Public Function AddShape ( _
	Name As String, _
	Style As eShapeStyle _
) As ExcelShape
Visual C++
public:
ExcelShape^ AddShape(
	String^ Name, 
	eShapeStyle Style
)

Parameters

Name
Type: System..::.String
Name
Style
Type: eShapeStyle
Shape style

Return Value

The shape object

See Also