TerSetPrintPreview
Allocate or deallocate print preview resources.
boolean TerSetPrintPreview( begin)
boolean begin; | true to allocate print preview resources, and false to deallocate them. |
Description: This function can be called before and after calling the TerPrintPreview function to increase the print preview performance when doing multi-page print-preview.
Return Value: This function returns true when successful.
Example:
tej.TerSetPrintPreview(true); // begin print preview process
for (page=0;page<PageCount;page++){
tej.TerPrintPreview(gr,rect,page,true); // print each page
}
tej.TerSetPrintPreview(false); // end print preview process