The Print Preview Components v5.40 has been released. This version is not backward compatible with older versions.
- [feature] Added
PageLogicalPixelsproperty toTPrintPreviewcontrol. This property returns size of paper in screen coordinates and in pixels. - [change] In
TPrintPreviewcontrol, renamedPagePixelsproperty toPageDevicePixels. This change is because of introducing the new propertyPageLogicalPixels. - [feature] Added
ScreenToPreview,PreviewToScreen,ScreenToPaper, andPaperToScreenmethods toTPaperPreviewcontrol. - [feature] Added
PaintWinControlEx2method toTPaperPreviewcontrol. This method is simlar toPaintGraphicEx2except that it works on a windowed control. - [feature] Added
OnProgressevent toTPrintPreviewcontrol. This event occurs during printing and saving pages as PDF and multi-frame TIFF. - [change] Removed
OnPrintProgressevent fromTPrintPreviewcontrol. TheOnProgressevent covers this old event. - [change] Removed
Abortedproperty,Abortmethod, andOnAbortevent fromTPrintPreviewcontrol. You can provide an event handler forOnProgressevent to cancel printing. - [change] In
TPaperPreviewcontrol, renamedBorderSizeandShadowSizeproperties toBorderWidthandShadowWidth. By this change, these properties share the same name with their corresponding properties inTPaperPreviewOptionsclass. - [feature] Added
ClientToPaperandPaperToClientmethods toTPaperPreviewcontrol. - [feature] Added global
CreateWinControlImagefunction. This function returns a graphic object from the screen snapshot of a windowed control.

Problem with SaveAsPDF per Synopse:
I place a “bitmap” in then center of the page with stretchdraw.
After creating the pdf-file, the “bitmap” is on top/left of the page.
All other text elements are okay !
??????????
The Synopse PDF library is not complete and cannot convert all GDI commands to PDF. I have mentioned this problem in the readme file.
I suggest to use dsPDF library.