Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Apr 22, 2021 1:58 pm

Is it possible to add custom data (preferably as XMP metadata) to a PdfSignature or PdfSignatureFieldWidget?

KevParkes
 
Posts: 2
Joined: Thu Apr 22, 2021 1:28 pm

Fri Apr 23, 2021 3:55 am

Hello,

Thanks for your inquiry.

To help us has a better understanding on your requirements, could you please provide a sample PDF containing the custom signature data you expect for our reference? You can upload the document here or send it to us ([email protected]) via email.
Thank you in advance for your assistance.
Sincerely,
Andy
E-iceblue support team
User avatar

Andy.Zhou
 
Posts: 483
Joined: Mon Mar 29, 2021 3:03 am

Fri Apr 23, 2021 11:01 am

Hello,

Thanks for your sharing.

Regarding the signature data, are your referring to this data in the image below? If so, please refer to the following code to achieve it.
demo.png


If so, you can refer to the following code.

Code: Select all
 PdfDocument doc = new PdfDocument();
            doc.LoadFromFile(input);
            doc.DocumentInformation.Author = "Andy, Rechal";


Or if I misunderstood, could you provide a screenshot to further clarify? Thanks in advance.
Sincerely,
Andy
E-iceblue support team
User avatar

Andy.Zhou
 
Posts: 483
Joined: Mon Mar 29, 2021 3:03 am

Return to Spire.PDF

cron