We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Deprecated method setWarningCallback in SaveOptions


We are getting the message:

method setWarningCallback in class SaveOptions is deprecated: see corresponding Javadoc for more information.
options.setWarningCallback(new WordWarning(log))

Is there any documentation describing what has superceded this message? Your API documentation does not indicate that the method is deprecated.

Hi there,

Thanks for your inquiry. SaveOptions.WarningCallback property is now obsolete. Please use DocumentBase.WarningCallback property instead of SaveOptions.WarningCallback. Please read about this API change from following link.

Public API Changes in Aspose.Words 15.3.0

We will update the Aspose.Words for Java API reference. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSJAVA-1368) have been fixed in this Aspose.Words for .NET 18.11 update and this Aspose.Words for Java 18.11 update.