logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
seki Posted: 3 years ago
 
I found how to save PDF by myself. Thanks.

Originally Posted by: seki Go to Quoted Post
Thank you for advice.
I found that I could get custom properties using Pdfium.FPDF_GetMetaText, and set custom properties using Pdfium.FPDF_SetMetaText.

By the way, how can I save a PDF file that I changed using Pdfium.FPDF_SetMetaText?
I could not understand how to use "Pdfium.FPDF_SaveAsCopy".


seki Posted: 3 years ago
 
Thank you for advice.
I found that I could get custom properties using Pdfium.FPDF_GetMetaText, and set custom properties using Pdfium.FPDF_SetMetaText.

By the way, how can I save a PDF file that I changed using Pdfium.FPDF_SetMetaText?
I could not understand how to use "Pdfium.FPDF_SaveAsCopy".
seki Posted: 3 years ago
 
customprop.png

"Custom properties" meant attached images.
I would like to read and/or save these properties of pdf files.

The user manual of Pdfium.FPDF_SetMetaTex method says
>Currently, The tag can be one of "Title", "Author", "Subject", "Keywords", "Creator", "Producer", "CreationDate", or "ModDate".

Later I will try Pdfium.FPDF_SetMetaTex method with Custom Tag.
Paul Rayman Posted: 3 years ago
 
Hello,

What is a custom property? I assume this can be achieved with an appropriate dictionary.
Also you can try Pdfium.FPDF_SetMetaTex method.

Code:
Pdfium.FPDF_SetMetaText(document.Handle, "CustomTag", "custom value");
seki Posted: 3 years ago
 
I know pdfium can edit PDF properties like Author, CreationDate, Subject, Title, and Producer etc.
https://pdfium.patagames...DK_Document.htm#section5

Is there a way to edit "custom properties" with pdfium?