Method XbpPrinter():destroy() Foundation

Releases system resources.

:destroy() --> self

This method returns the object executing the method (self).


The :destroy() method explicitly releases the system resources requested by the method :create(). Calling the :destroy() method is generally not required. When there are no remaining references to the XbpPrinter object, the system resources are implicitly released by the Xbase++ garbage collector.

Calling the :destroy() method without previously calling the method :create() leads to a runtime error.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.