We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Apply Header on Signature pdf - output pdf signature is invalid

We are using Aspose.pdf.dll 21.7
We tried to apply header on the pdf having valid digital signature.
After applying the header the output pdf showing invalid signature.

Below is the sample code

Aspose.Pdf.Facades.PdfFileStamp fileStamp = new Aspose.Pdf.Facades.PdfFileStamp();
Aspose.Pdf.Facades.FontStyle fontStyle = Aspose.Pdf.Facades.FontStyle.Courier;
Aspose.Pdf.Facades.FormattedText formattedText =
new Aspose.Pdf.Facades.FormattedText(Text,
EncodingType.Winansi, false, FontSize);
fileStamp.AddHeader(formattedText, topMargin: (float)TopMargin);
Output_1.pdf (736.7 KB)
Sample_Original.pdf (733.6 KB)


We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as PDFNET-51441. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Team,
May I know the update on the fix of this issue.


Currently, your issue is pending for analysis and is in the queue. Once we complete the analysis of your issue, we will then be able to provide you an estimate.

Hi Team,
We have dependency on this solution to eliminate the usage of other product (ActivePDF) from our appllication. Can you please help with update ASAP . Thanks


You reported this issue in free support forum and it will be treated with normal priority. To speed up the progress of issue’s resolution, we suggest you please check our paid support policies from following link.
Paid Support Policies

Hi Tahir,

We have paid support and updated in the below post, please help.



Your query will be answered in paid support forum.