DiagramAddMaster Method (String, Int32)

Adds master to diagram from template file by master's ID.

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

Parameters

templateFilePath
Type: SystemString
Path to template file(can be vdx, vst or vsd format).
masterID
Type: SystemInt32
The unique ID of the master within masters collection in template.

Return Value

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