WarningInfoCollection class
WarningInfoCollection class
Represents a typed collection of WarningInfo objects.
To learn more, visit the Programming with Documents documentation article.
You can use this collection object as the simplest form of Aspose.Words.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 Aspose.Words.Loading.LoadOptions.WarningCallback or Aspose.Words.DocumentBase.WarningCallback property.
Constructors
Properties
| Name | Description |
|---|
| count | Gets the number of elements contained in the collection. |
| this[] | |
Methods
| Name | Description |
|---|
| clear() | Removes all elements from the collection. |
| warning(info) | Implements the Aspose.Words.IWarningCallback interface. Adds a warning to this collection. |
See Also