DiagramAddMaster Method (Stream, String)

Adds master to diagram from template stream 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(
	Stream templateStream,
	string masterName
)

Parameters

templateStream
Type: System.IOStream
template stream.
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