DiagramAddMaster Method (Diagram, String)

Adds master to diagram from source diagram by master's Name or NameU.

Namespace:  Aspose.Diagram
Assembly:  Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.3.0.0 (20.3)
Syntax
public int AddMaster(
	Diagram srcDiagram,
	string masterName
)

Parameters

srcDiagram
Type: Aspose.DiagramDiagram
source diagram.
masterName
Type: SystemString
Master's Name or NameU.

Return Value

Type: Int32
The unique ID of the master within masters collection in this diagram.
See Also