AddMaster

Diagram.AddMaster method (1 of 5)

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

public int AddMaster(Diagram srcDiagram, string masterName)
Parameter Type Description
srcDiagram Diagram source diagram.
masterName String Master’s Name or NameU.

Return Value

The unique ID of the master within masters collection in this diagram.

See Also


Diagram.AddMaster method (2 of 5)

Adds master to diagram from template stream by master’s Name or NameU.

public int AddMaster(Stream templateStream, string masterName)
Parameter Type Description
templateStream Stream template stream.
masterName String Master’s Name or NameU.

Return Value

The unique ID of the master within masters collection in this diagram.

See Also


Diagram.AddMaster method (3 of 5)

Adds master to diagram from template stream by master’s ID.

public int AddMaster(Stream templateStream, int masterID)
Parameter Type Description
templateStream Stream template stream.
masterID Int32 The unique ID of the master within masters collection in template.

Return Value

The unique ID of the master within masters collection in this diagram.

See Also


Diagram.AddMaster method (4 of 5)

Adds master to diagram from template file by master’s Name or NameU.

public int AddMaster(string templateFilePath, string masterName)
Parameter Type Description
templateFilePath String Path to template file(can be vdx, vst or vsd format).
masterName String Master’s Name or NameU.

Return Value

The unique ID of the master within masters collection in this diagram.

See Also


Diagram.AddMaster method (5 of 5)

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

public int AddMaster(string templateFilePath, int masterID)
Parameter Type Description
templateFilePath String Path to template file(can be vdx, vst or vsd format).
masterID Int32 The unique ID of the master within masters collection in template.

Return Value

The unique ID of the master within masters collection in this diagram.

See Also