Adding a file to pdf as attachment

33 views
Skip to first unread message

CodeBoT

unread,
Mar 28, 2020, 3:05:20 PM3/28/20
to pdfium
I tried the function "FPDFDoc_AddAttachment(FPDF_DOCUMENT document, FPDF_WIDESTRING name);" to attach a file to the pdf .
But the problem with this is that when i open the pdf in adobe acrobat reader or any other pdf reader then I can easily see the attachment file from there.
So my question here is that is there any other method or way to attach a file to the pdf which only I can access/see or open in future after attaching to the pdf, i.e. the file should be visible only to me. Not to any other person or program,

Lei Zhang

unread,
Mar 30, 2020, 8:42:43 PM3/30/20
to CodeBoT, pdfium
I fail to see how the described behavior is a problem. If you want to
come up with a proprietary way of adding attachments to PDFs, you are
welcome to do that on your own.
> --
> You received this message because you are subscribed to the Google Groups "pdfium" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pdfium+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pdfium/9c64edf0-1327-4352-9b4d-4a77610a8738%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages