Method AddSignatureField

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

AddSignatureField(string, double, double, double, double)

Adds an empty signature field: a placeholder that a signing application can fill later. SoftZenPdf does not create digital signatures itself.

public PdfSignatureField AddSignatureField(string name, double x, double y, double width, double height)

Parameters

name string

A unique field name, without dots.

x double

Left edge of the field, in points.

y double

Bottom edge of the field, in points.

width double

Field width, in points.

height double

Field height, in points.

Returns

PdfSignatureField

The signature field.

Exceptions

ArgumentException

The name is empty, contains a dot, or is already used.

InvalidOperationException

The document was created for PDF/A, where form fields are not supported yet.