THPDFPage.AddCertificationSignatureField Method

Creates a signature field and makes it the document certification signature by attaching a DocMDP transform with the requested permission level

Declaration

procedure AddCertificationSignatureField(const FieldName: AnsiString; Rectangle: TRect; Permission: THPDFDocMDPPermission; ContentsBytes: Integer= 8192; const SubFilter: AnsiString= 'adbe.pkcs7.detached'; const Reason: AnsiString= ''; const Location: AnsiString= ''; const ContactName: AnsiString= ''; Flags: THPDFFormFieldFlags= []);

Unit

HPDFDoc

Parameters

NamePurpose
FieldNameAcroForm field name or field dictionary targeted by the helper
RectanglePage area or widget rectangle where the operation is applied
PermissionDocMDP permission granted to changes made after certification
ContentsBytesNumber of binary signature bytes reserved in the hexadecimal /Contents placeholder
SubFilterSignature subfilter stored in the signature dictionary
ReasonOptional signing reason stored with the signature
LocationOptional signing location stored with the signature
ContactNameOptional signer contact information stored with the signature
FlagsAcroForm widget flags applied to the signature field

Return value

This member does not return a value

Usage notes

Related APIs