RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPrinter.Destroy Destructor

Destroys an instance of a printer.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TPrinter();

Do not call Destroy directly. The printer object is automatically created and destroyed. 

When Destroy is called, it verifies that any currently printing job has ended, then frees resources such as the handle, fonts, and canvas, closes the printer, and calls the inherited Destroy method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!