Add
Contents
[
Hide
]Add(string)
Adds new custom xml part.
public ICustomXmlPart Add(string xmlString)
| Parameter | Type | Description |
|---|---|---|
| xmlString | String | The xml string of new part to be added. |
Return Value
Created custom xml part.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | xmlString is null. |
| ArgumentException | xmlString is empty or xml-data is invalid. |
See Also
- interface ICustomXmlPart
- class CustomXmlPartCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
Add(byte[])
Adds new custom xml part.
public ICustomXmlPart Add(byte[] xmlData)
| Parameter | Type | Description |
|---|---|---|
| xmlData | Byte[] | The xml data of new part to be added. |
Return Value
Created custom xml part.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | xmlData is null. |
| ArgumentException | xmlData is empty or invalid. |
See Also
- interface ICustomXmlPart
- class CustomXmlPartCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
Add(Stream)
Adds new custom xml part.
public ICustomXmlPart Add(Stream inputStream)
| Parameter | Type | Description |
|---|---|---|
| inputStream | Stream | The inputStream with xml data of new part to be added. |
Return Value
Created custom xml part.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | inputStream is null. |
| ArgumentException | Data in inputStream is empty or invalid. |
See Also
- interface ICustomXmlPart
- class CustomXmlPartCollection
- namespace Aspose.Slides
- assembly Aspose.Slides