Skip to content

Commit c116a04

Browse files
authored
Merge pull request #1 from LEIRONGHUA/LEIRONGHUA-patch-1
Update Form1.cs
2 parents cb17857 + 0201392 commit c116a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PDFQFZ/Form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ private bool PDFWatermark(string inputfilepath, string outputfilepath)
635635
//signatureAppearance.Layer2Text = text;
636636

637637
float bk = 2;//数字签名的图片要加上边框才能跟普通印章的位置完全一致
638-
signatureAppearance.SetVisibleSignature(new iTextSharp.text.Rectangle(xPos- bk, yPos- bk, xPos + imgW + bk, yPos + imgH + bk), signpage, "Signature");
638+
signatureAppearance.SetVisibleSignature(new iTextSharp.text.Rectangle(xPos- bk, yPos- bk, xPos + imgW + bk, yPos + imgH + bk), signpage, null);
639639
}
640640

641641
MakeSignature.SignDetached(signatureAppearance, externalSignature, chain, null, null, null, 0, CryptoStandard.CMS);

0 commit comments

Comments
 (0)