The Print Preview Components v5.40 has been released. This version is not backward compatible with older versions.
- [feature] Added
PageLogicalPixels
property toTPrintPreview
control. This property returns size of paper in screen coordinates and in pixels. - [change] In
TPrintPreview
control, renamedPagePixels
property toPageDevicePixels
. This change is because of introducing the new propertyPageLogicalPixels
. - [feature] Added
ScreenToPreview
,PreviewToScreen
,ScreenToPaper
, andPaperToScreen
methods toTPaperPreview
control. - [feature] Added
PaintWinControlEx2
method toTPaperPreview
control. This method is simlar toPaintGraphicEx2
except that it works on a windowed control. - [feature] Added
OnProgress
event toTPrintPreview
control. This event occurs during printing and saving pages as PDF and multi-frame TIFF. - [change] Removed
OnPrintProgress
event fromTPrintPreview
control. TheOnProgress
event covers this old event. - [change] Removed
Aborted
property,Abort
method, andOnAbort
event fromTPrintPreview
control. You can provide an event handler forOnProgress
event to cancel printing. - [change] In
TPaperPreview
control, renamedBorderSize
andShadowSize
properties toBorderWidth
andShadowWidth
. By this change, these properties share the same name with their corresponding properties inTPaperPreviewOptions
class. - [feature] Added
ClientToPaper
andPaperToClient
methods toTPaperPreview
control. - [feature] Added global
CreateWinControlImage
function. 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.