| Author |
Topic  |
|
|
PaulF

United Kingdom
11 Posts |
Posted - Jan 30 2026 : 04:35:19
|
Hi, In my application, I'm using the PDF Viewer to append a series of pages to a new document. I'm using another ImageEnView to open up the source document, then select specific pages and zooms then copy the IEBitmap to the new destination document. It calls the PdfViewer.AddPage( IEBitmap, Width, Height, -1, 0, True, True) with the first image and returns OK, when it is called the second time with a different image it doesn't return, this is a new black document.
I've tried the PDFPageObjects demo program, if you open a PDF, leave it on the first page, select '...Add Page' down bottom right and append the Butterfly Image to the end of the doc, it creates a new blank page at the end of the doc, but the image is inserted on the second page, if you repeat it, blank pages are appended to the end but images are inserted on second page over the top of each other. I tried the 'create from layers' and 'create from TControls' options and they caused a stack overflow adding a Path. Not sure if that is related to my non-returning issue above.
I'm using latest version 14.2.7 and IEPDF32.dll. It has worked OK on previous versions: 13.5.0.
I might try the TPDFBuilder as a temp workaround.
regards Paul
|
|
|
PaulF

United Kingdom
11 Posts |
Posted - Jan 30 2026 : 06:32:36
|
I've managed to implement a work around in my application after adding each new page/image, save the PDF, re-open the PDF and navigate to the last page: IEViewDocGen.PdfViewer.AddPage( LIEBmp, LPaperSize.X, LPaperSize.Y, -1, 0, True, True ); IEViewDocGen.IO.SaveToFilePDF( LExpMediaPathAbs ); IEViewDocGen.IO.ClosePDFFile; IEViewDocGen.IO.LoadFromFilePDF( LExpMediaPathAbs ); IEViewDocGen.PdfViewer.PageIndex := IEViewDocGen.PdfViewer.PageCount-1;
|
 |
|
|
xequte
    
39327 Posts |
Posted - Jan 30 2026 : 16:11:41
|
Hi Paul
Can you email me for the latest beta to confirm our fix of this issue?
Nigel Xequte Software www.imageen.com
|
 |
|
| |
Topic  |
|
|
|