Diagram.AddMaster
Contents
[
Hide
]AddMaster(Diagram, string)
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
- class Diagram
- namespace Aspose.Diagram
- assembly Aspose.Diagram
AddMaster(Stream, string)
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
- class Diagram
- namespace Aspose.Diagram
- assembly Aspose.Diagram
AddMaster(Stream, int)
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
- class Diagram
- namespace Aspose.Diagram
- assembly Aspose.Diagram
AddMaster(string, string)
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
- class Diagram
- namespace Aspose.Diagram
- assembly Aspose.Diagram
AddMaster(string, int)
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
- class Diagram
- namespace Aspose.Diagram
- assembly Aspose.Diagram