| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > PrintPreviewClass > PrintPreviewClass Methods >====== Kill (shut down the PrintPreviewClass object) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[inpagelist check page number .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[open prepare preview window for display .htm|{{btn_next_n.gif|Next page}}]] | | || **Kill, VIRTUAL, PROC** {{blk2blue.jpg|blk2blue.jpg}} 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:     **[[kill shut down the windowmanager object .htm|WindowManager.Kill]]