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
 Error reported when using the ImportPagesIntoPDF function alone
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

foxdingding

77 Posts

Posted - May 29 2024 :  02:30:35  Show Profile  Reply
Is Error:

  Try
      if Not ImportPagesIntoPDF(H_FileName_Out_PDF,H_FileName_In_PDF,H_ArrPage) Then
      Begin
          Writeln('--error 001!'+H_FileName_Out_PDF);
          Exit;
      End;
  Except
      on E: Exception do
        Writeln('---Error 002',E.Message);
  End;


===============================================

Is OK:

  Var pdf := TIEPDFBuilder.Create();
  Try
    pdf.SaveToFile(H_FileName_Out_PDF);
  Finally
    pdf.Free();
  End;

  Try
      if Not ImportPagesIntoPDF(H_FileName_Out_PDF,H_FileName_In_PDF,H_ArrPage) Then
      Begin
          Writeln('--Error(001)'+H_FileName_Out_PDF);
          Exit;
      End;
  Except
      on E: Exception do
        Writeln('---Errror 002',E.Message);
  End;

xequte

38610 Posts

Posted - May 29 2024 :  04:27:49  Show Profile  Reply
That is correct. Both files must exist for ImportPagesIntoPDF()

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

38610 Posts

Posted - May 29 2024 :  23:33:21  Show Profile  Reply
Hi

In the current beta, you can specify a file that does not exist, and it will be automatically created. You can email me for that version.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

foxdingding

77 Posts

Posted - May 30 2024 :  03:43:34  Show Profile  Reply
13.1.0
Go to Top of Page

xequte

38610 Posts

Posted - May 30 2024 :  18:40:50  Show Profile  Reply
Hi

You can email me for the latest version if your registration is current.

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