53
activePDF Toolkit Professional Edition
aptkl4a 30405
Copyright 2005, activePDF, Inc. All Rights Reserved.
Page 219 of 553
AltTextFontSize
Float
The font size of the alternate text.
LLX
Float
The horizontal position of the lower-left corner of the
signature. Uses the PDF Coordinate System .
LLY
Float
The vertical position of the lower-left corner of the
signature. Uses the PDF Coordinate System .
Width
Float
Width of the signature field.
Height
Float
Height of the signature field.
PageNr
Long
Optional.
0 =The action will take place on the new or current
open page of the input file or cover. (Default)
>1 = The action will occur on the specified page number.
-1 = The action will occur on all pages.
SignatureType
Long
0 = PKCS#1 Acrobat 4+ signature (best backwards
compatibility).
1=PKCS#7 Acrobat 4+ signature.
2=VeriSign Signature (requires VeriSign plug-in.
Certificate authority MUST be VeriSign).
3=Microsoft Signature (Acrobat 6+).
Remarks
If the file is encrypted, you must call SetInputPasswords prior to calling VisiblySignFile.
Example
Set tk = CreateObject("APToolkit.Object")
retCode = TK.FindCertificate("Joe Kant","My",1)
If (retCode < 0) Then
retCode = TK.CreateCertificate("Joe Kant", "Management", "activePDF","Mission
Viejo", "CA", "US", "joe@activepdf.com", 1, "My", 365,0,"0","0")
retCode = TK.FindCertificate("Joe Kant","My",1)
If (u < 0) Then
MsgBox("Can't find it!")
End If
End If
Flags = &H1 or &H256
r = tk.VisiblySignFile(retCode, "test.pdf", "", "activePDF Headquarters", "Our
Document", "949-582-9002","sig.tif", Flags, "","",0, 72, 72, 144, 144, 1,0)
set TK = nothing