Apply a digital signature to a PDF document.

Namespace:  bioPDF.PdfWriter
Assembly:  bioPDF.PdfWriter (in bioPDF.PdfWriter.dll)

Syntax

Visual Basic (Declaration)
Public Shared Sub SignPdf ( _
	printerName As String, _
	inputFileName As String, _
	outputFileName As String, _
	certificateFileName As String, _
	certificatePassword As String, _
	signReason As String, _
	signContact As String, _
	signLocation As String, _
	displaySignature As Boolean, _
	signLLX As Single, _
	signLLY As Single, _
	signRUX As Single, _
	signRUY As Single, _
	signPage As Integer _
)
C#
public static void SignPdf(
	string printerName,
	string inputFileName,
	string outputFileName,
	string certificateFileName,
	string certificatePassword,
	string signReason,
	string signContact,
	string signLocation,
	bool displaySignature,
	float signLLX,
	float signLLY,
	float signRUX,
	float signRUY,
	int signPage
)
Visual C++
public:
static void SignPdf(
	String^ printerName, 
	String^ inputFileName, 
	String^ outputFileName, 
	String^ certificateFileName, 
	String^ certificatePassword, 
	String^ signReason, 
	String^ signContact, 
	String^ signLocation, 
	bool displaySignature, 
	float signLLX, 
	float signLLY, 
	float signRUX, 
	float signRUY, 
	int signPage
)
JavaScript
bioPDF.PdfWriter.PdfUtil.signPdf = function(printerName, inputFileName, outputFileName, certificateFileName, certificatePassword, signReason, signContact, signLocation, displaySignature, signLLX, signLLY, signRUX, signRUY, signPage);

Parameters

printerName
Type: System..::.String
Name of PDF printer.
inputFileName
Type: System..::.String
The PDF document you want to sign
outputFileName
Type: System..::.String
File name of the resulting signed document
certificateFileName
Type: System..::.String
File name of the PFX certificate file
certificatePassword
Type: System..::.String
Certificate private key password
signReason
Type: System..::.String
Optional sign reason
signContact
Type: System..::.String
Optional sign contact
signLocation
Type: System..::.String
Optional sign location
displaySignature
Type: System..::.Boolean
Should the signature be shown in the document?
signLLX
Type: System..::.Single
Optional lower left corner X-value of visible signature
signLLY
Type: System..::.Single
Optional lower left corner Y-value of visible signature
signRUX
Type: System..::.Single
Optional upper right corner X-value of visible signature
signRUY
Type: System..::.Single
Optional upper right corner Y-value of visible signature
signPage
Type: System..::.Int32
Optional page number to sign. Page 1 is default.

See Also