Click or drag to resize
Pdf Library for .NET

PdfSecurityManagerSign(String, String, String, String, String, String, Int32, RectangleF) Method

Sign the pdf document with the specified certificate.

Namespace: SelectPdf
Assembly: Select.Pdf (in Select.Pdf.dll) Version: 26.2
Syntax
public void Sign(
	string certificateFileName,
	string certificatePassword,
	string signatureName,
	string reason,
	string location,
	string contactInfo,
	int pageIndex,
	RectangleF bounds
)

Parameters

certificateFileName  String
The full path to the existing certificate (PFX certificates only).
certificatePassword  String
Certificate password.
signatureName  String
The name of the signature.
reason  String
The reason of signing.
location  String
The location of signing.
contactInfo  String
The signer contact info (can be an email, phone number, address, etc.
pageIndex  Int32
Index of the page where the signature will be added.
bounds  RectangleF
Location within the specified page of the signature.
Remarks
SelectPdf can only sign using .pfx certificates.
See Also