[XpsDocument.Dispose method Disposes the instance. public void Dispose() See Also class XpsDocument namespace Aspose.Page.XPS assembly Aspose.Page]