DiagramAddMaster Method (String, String)

Adds master to diagram from template file 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(
	string templateFilePath,
	string masterName
)

Parameters

templateFilePath
Type: SystemString
Path to template file(can be vdx, vst or vsd format).
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