The Print Preview Components v5.60 has been released.
- [feature] Added
OnPageProcessing
event toTPrintPreview
control. This event occurs just before processing a page, during the print and save as PDF and TIFF operations. You can use this event to filter pages or cancel the whole operation. - [change] Changed the parameter list of
OnProgress
event. Now this event just reports the progress; neither reports processing page number nor provides a way to cancel the operation. - [change] Removed some redundant code.
It hangs when compiled inside DLL.
Need make a change:
preview.pas line 6564
Input.GdiplusVersion := 1;
Input.SuppressBackgroundThread := True; // added line!
GdiplusStartup(Token, @Input, nil);
See http://www.mikevdm.com/BlogEntry/Key/GdiplusShutdown-Hangs-Mysteriously for details
Thanks for good job!
Thank you for the bug report, and particularly for the fix!