Navigation: ABC Library Reference > PrintPreviewClass > PrintPreviewClass Methods >====== Kill (shut down the PrintPreviewClass object) ====== | |
Kill, VIRTUAL, PROC
The Kill method frees any memory allocated during the life of the object and performs any other required termination code.Kill returns a value to indicate the status of the shut down.
Implementation:
The Kill method calls the WindowManager.Kill method and returns Level:Benign to indicate a normal shut down. Return value EQUATEs are declared in ABERROR.INC.
Return Data Type: BYTE
Example:
PrintPreviewQueue PreviewQueue !declare report image queue
PrtPrev PrintPreviewClass !declare PrtPrev object
CODE
PrtPrev.Init(PrintPreviewQueue) !initialize PrtPrev object
!program code
PrtPrev.Kill !shut down PrtPrev object
See Also: WindowManager.Kill