DiagramAddShape Method (Shape, String, Int32)

Adds shape created by master to specific page.

Namespace:  Aspose.Diagram
Assembly:  Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.3.0.0 (20.3)
Syntax
public long AddShape(
	Shape newShape,
	string masterName,
	int pageNumber
)

Parameters

newShape
Type: Aspose.DiagramShape
New shape objectShape.
masterName
Type: SystemString
Master's name.
pageNumber
Type: SystemInt32
Index of page.

Return Value

Type: Int64
The unique ID of the shape within shapes collection on the specified page.
See Also