ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PDFViewer demo Export Page to PDF doesn't export anything
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

JonMRobertson

USA
32 Posts

Posted - Oct 03 2024 :  11:20:42  Show Profile  Reply
Fortunately, there is a simple fix. The demo project has a small defect.
if dlgSaveImage.Execute() = False then
    ImageEnView1.PdfViewer.ExportPages( dlgSaveImage.Filename , ImageEnView1.PdfViewer.PageIndex, 1 )

Remove = False ;)
if dlgSaveImage.Execute() then
    ImageEnView1.PdfViewer.ExportPages( dlgSaveImage.Filename , ImageEnView1.PdfViewer.PageIndex, 1 )

xequte

38535 Posts

Posted - Oct 03 2024 :  21:22:24  Show Profile  Reply
Thanks for letting us know, Jon. Fixed now.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: