Namespace:  pdf7.PdfWriter
Assembly:  pdf7.PdfWriter (in pdf7.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, _
	ownerPassword As String, _
	userPassword As String, _
	encryptionType As PdfUtil..::.EncryptionType, _
	allowAssembly As Boolean, _
	allowCopy As Boolean, _
	allowDegradedPrinting As Boolean, _
	allowFillIn As Boolean, _
	allowModifyAnnotations As Boolean, _
	allowModifyContents As Boolean, _
	allowPrinting As Boolean, _
	allowScreenReaders As Boolean _
)
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,
	string ownerPassword,
	string userPassword,
	PdfUtil..::.EncryptionType encryptionType,
	bool allowAssembly,
	bool allowCopy,
	bool allowDegradedPrinting,
	bool allowFillIn,
	bool allowModifyAnnotations,
	bool allowModifyContents,
	bool allowPrinting,
	bool allowScreenReaders
)
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, 
	String^ ownerPassword, 
	String^ userPassword, 
	PdfUtil..::.EncryptionType encryptionType, 
	bool allowAssembly, 
	bool allowCopy, 
	bool allowDegradedPrinting, 
	bool allowFillIn, 
	bool allowModifyAnnotations, 
	bool allowModifyContents, 
	bool allowPrinting, 
	bool allowScreenReaders
)
JavaScript
pdf7.PdfWriter.PdfUtil.signPdf = function(printerName, inputFileName, outputFileName, certificateFileName, certificatePassword, signReason, signContact, signLocation, displaySignature, signLLX, signLLY, signRUX, signRUY, signPage, ownerPassword, userPassword, encryptionType, allowAssembly, allowCopy, allowDegradedPrinting, allowFillIn, allowModifyAnnotations, allowModifyContents, allowPrinting, allowScreenReaders);

Parameters

printerName
Type: System..::.String
inputFileName
Type: System..::.String
outputFileName
Type: System..::.String
certificateFileName
Type: System..::.String
certificatePassword
Type: System..::.String
signReason
Type: System..::.String
signContact
Type: System..::.String
signLocation
Type: System..::.String
displaySignature
Type: System..::.Boolean
signLLX
Type: System..::.Single
signLLY
Type: System..::.Single
signRUX
Type: System..::.Single
signRUY
Type: System..::.Single
signPage
Type: System..::.Int32
ownerPassword
Type: System..::.String
userPassword
Type: System..::.String
encryptionType
Type: pdf7.PdfWriter..::.PdfUtil..::.EncryptionType
allowAssembly
Type: System..::.Boolean
allowCopy
Type: System..::.Boolean
allowDegradedPrinting
Type: System..::.Boolean
allowFillIn
Type: System..::.Boolean
allowModifyAnnotations
Type: System..::.Boolean
allowModifyContents
Type: System..::.Boolean
allowPrinting
Type: System..::.Boolean
allowScreenReaders
Type: System..::.Boolean

See Also