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
 Open PDF, Inject File Metadata - How ?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

andyhill

Australia
133 Posts

Posted - Nov 06 2022 :  01:29:09  Show Profile  Reply
I do not see how to inject PDF File Metadata correctly, please advise - thanks.

ie:= TImageEnView.Create(nil);
ie.IO.LoadFromFilePDF(FullyQualifiedPdf);
ie.IO.Params.PDF_Author:= 'Me';
ie.IO.Params.PDF_Subject:= Subject;
ie.IO.Params.PDF_Creator:= 'Me';
ie.IO.Params.PDF_Producer:= 'Me';
//
ie.IO.Params.EXIF_HasEXIFData:= True; // ??? Not Really EXIF ???
ie.IO.InjectJpegEXIF(FullyQualifiedPdf); // ??? No Inject PDF Method ???
ie.Free;


Andy

xequte

38690 Posts

Posted - Nov 06 2022 :  14:22:35  Show Profile  Reply
Hi Andy

There is no injection method for PDF. You should just use the standard SaveToFilePDF() method. The PDF file will be converted to an image only PDF with a single page using this method.

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