签名不可见,ABCpdf中的文本颜色未按预期更改

时间:2018-10-29 16:27:53

标签: vb.net pdf sign abcpdf

我试图在现有签名字段上使用abcpdf签名pdf。而且我希望可以更改带有textcolor和字体的签名。但是它没有发生。我尝试使用的方式:

Shared Sub Main()
        Dim theDoc As Doc = New Doc()
        theDoc.Read("MY_PDF_FILE.PDF")
        Dim theSig As Signature = theDoc.Form("Signature1")

        theSig.Location = "Signed Location"
        theSig.Reason = "Reason for Signature"
        theSig.TextColor = WebSupergoo.ABCpdf11.XColor.FromRgb(1, 1, 200)
        theSig.Signer = "Signer Name Etc"
        theSig.Sign("SignCert.pfx", "CertPassword")
        theDoc.Save("PdfSigned.pdf")
    End Sub

文档已签名(当我单击它时显示“签名”信息),但签名也未出现。 有人可以指出我在做错什么吗??

0 个答案:

没有答案