Hi,
how to add timestamp of signature to signature field while signing pdf?
I use the following code to sign pdf.
but signing takes place while saving document, so when reading SignedDate earlier it is not set.
Regards,
Piotr Aksamit
Hi Piotr Aksamit,
The signature will be signed only the call of document save, because of we could not sign the document before saving it and the signed date will be fetched at the time of saving the document. We have already logged this request "Support to set signed date in signature in pdf document", and we have considered and planned to implement this requirement in our upcoming 2024 Volume 3 Sp1 release. Once the feature is available, we will inform you. You can track the status of the feature using the following feedback link.
https://www.syncfusion.com/feedback/60188/support-to-set-signed-date-in-signature-in-pdf-document
Regards,
Jeyalakshmi T
Hi Piotr,
Regards,
Irfana J.
Hi Piotr,
Regards,
Irfana J.
Hi Piotr,
The support for “Support to get and set the text alignment for PdfLoadedCombobox fields” has been included in our Essential Studio 2024 Volume 4 release v28.1.33 and We are excited to announce that our Essential Studio 2024 Volume 4 release (v28.1.33) has been rolled out
You can download our latest NuGet package using the link below:
NuGet Gallery | Syncfusion.Pdf.Net.Core 28.1.33
Kindly refer the below Code sample for use this feature
|
FileStream stream = new FileStream("Form.pdf", FileMode.Open, FileAccess.Read); PdfLoadedDocument document = new PdfLoadedDocument(stream); PdfLoadedComboBoxField comboBox = document.Form.Fields[0] as PdfLoadedComboBoxField; comboBox.TextAlignment = PdfTextAlignment.Left; document.Form.SetDefaultAppearance(true); MemoryStream ms = new MemoryStream(); document.Save(ms); |
We sincerely thank you for your support and patience as we prepared this release. Please feel free to contact us if you need any further assistance.
Regards,
Irfana J
Hi
Irfana,
i was asking for support for
Support to set signed date in signature in pdf document, but your example is for
Support to get and set the text alignment for PdfLoadedCombobox fields
Can you please provide a sample, that will show how to draw signature date on signature image.
Regards,
Piotr Aksamit
Hi Piotr,
The support for Support to set signed date in signature in pdf document has been included in our Essential Studio 2024 Volume 4 release v28.1.33 and We are excited to announce that our Essential Studio 2024 Volume 4 release (v28.1.33) has been rolled out
You can download our latest NuGet package using the link below:
NuGet Gallery | Syncfusion.Pdf.Net.Core 28.1.33
Kindly refer the below Code sample for use this feature:
| //Create a new PDF document. PdfDocument document = new PdfDocument(); //Add a new page to PDF document. PdfPage page = document.Pages.Add(); //Create PDF Signature field. PdfSignatureField signatureField = new PdfSignatureField(page, "Signature"); //Set properties to the signature field. signatureField.Signature = new PdfSignature(page, "Signature", new DateTime(2019, 12, 24, 10, 50, 10)); signatureField.Bounds = new RectangleF(0, 400, 90, 20); signatureField.ToolTip = "Signature"; //Add the form field to the document. document.Form.Fields.Add(signatureField); //Creating the stream object. MemoryStream stream = new MemoryStream(); //Save the PDF document to stream. document.Save(stream); //Close the document. document.Close(true); |
Regards,
Irfana J.