DiagramAddMaster Method (Stream, Int32)

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

Parameters

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