WarningInfoCollection class
WarningInfoCollection class
Represents a typed collection of WarningInfo objects. To learn more, visit the Programming with Documents documentation article.
Remarks
You can use this collection object as the simplest form of IWarningCallback implementation to gather all warnings that Aspose.Words generates during a load or save operation. Create an instance of this class and assign it to the LoadOptions.warning_callback or DocumentBase.warning_callback property.
Interfaces: IWarningCallback
Constructors
Name | Description |
---|---|
WarningInfoCollection() | The default constructor. |
Indexers
Name | Description |
---|---|
__getitem__(index) | Gets an item at the specified index. |
Properties
Name | Description |
---|---|
count | Gets the number of elements contained in the collection. |
Methods
Name | Description |
---|---|
clear() | Removes all elements from the collection. |
warning(info) | Implements the IWarningCallback interface. Adds a warning to this collection. |
See Also
- module aspose.words
- class IWarningCallback
- class WarningInfo