How to (native)
The Signature API combines signature device handling with PDF document capabilities.
The Signature API automates
- signing a document using a signature device and
- displaying a document on a signature device.
How to start
The prerequisites for signing is a PDF document and an attached signature device.
The Signature API relies on the /wiki/spaces/NETDEVAPI/pages/79529138 devices.
So, set a device and load a PDF document.
You may want to download the changed document later.
Use the functions in the /wiki/spaces/NETDEVAPI/pages/79529138 to change device settings.
Note that native interface of the Signature API contains these functions too.
Sign a document
PDF documents may have an interactive form (AcroForm).
This form may have various fields of different types.
Signature fields are a special type of form field for signing.
New signature fields may be added to the loaded document.
Find the signature field to be signed and sign it.
In order to choose the position for a new signature field,
knowing the desired page number and the size of that page is essential.
So, get the page dimensions and find a sensible place for the new signature field.
The positions where certain texts occur may help in that regard.
For example, one could search for terms like "Please sign" or "Sign here".
Which terms are advisable depends on the type of contract and the language.
Viewing a document
can be started on supported devices at a certain page in different zoom levels.