CustomPropertiesPart
Overview
CustomPropertiesPart is a class in Aspose.Slides for Python.
Parse/serialize docProps/custom.xml.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Provides the total number of custom properties stored |
Methods
| Signature | Description |
|---|---|
__init__(package) | |
contains(name: str) → bool | Returns True if a custom property with the given name exists |
get_name(index: int) → str | Returns the name of the custom property at the specified index |
get_value(name: str) → Any | Retrieves the value of the custom property identified by name |
set_value(name: str, value: Any) | Assigns the given value to the custom property with the specified name |
remove(name: str) → bool | Deletes the custom property with the given name and returns success status |
clear() | Removes all custom properties from the part |
save() | Serialize back to the package. |