Click or drag to resize

PdfSecurityManagerAddSignatureField(String, String, String, Int32, RectangleF) Method

Adds an empty signature field to a PDF document, to be signed later with the Sign methods: a Sign call with the same signature name signs this field, at its position. Add the fields of the later signers before certifying a document: a certification allows signing the existing fields, not adding new ones.

Namespace: ExpertPdf.Anywhere.PDFSecurity
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public void AddSignatureField(
	string sourcePdf,
	string destPdf,
	string fieldName,
	int pageIndex,
	RectangleF bounds
)

Parameters

sourcePdf  String
The PDF document full path. A password-protected source is opened with SourcePdfPassword.
destPdf  String
The full path of the document with the new field.
fieldName  String
The name of the signature field. It must not exist in the document.
pageIndex  Int32
The index of the page of the field (0 for the first page).
bounds  RectangleF
The position and size of the field on the page, in points from the top left corner.
Exceptions
ExceptionCondition
SecurePdfExceptionThe document cannot be opened or written, the page index is not valid, a field with this name exists, or the document is signed (a new field would invalidate its signatures).
See Also