Method SignInDocument
SignInDocument(Rectangle, Boolean)
Whether the "sign in document" feature shall be used.
Declaration
public Behaviour SignInDocument(Rectangle docSignRectangle, bool crop = true)
Parameters
Type | Name | Description |
---|---|---|
Rectangle | docSignRectangle | Where the signature rectangle shall appear. |
System.Boolean | crop | Whether to crop. |
Returns
Type | Description |
---|---|
Behaviour | The changed behaviour. |
Remarks
The device displays an image of the document page to be signed.
This is cropped to the size of the available display area.
Cropping can be disabled with a false crop
parameter.
Examples
An example where the desired signature rectangle appears in the upper left corner with
a distance of 25mm to the upper display border,
a distance of 25mm to the left display border,
a minimum width of 50mm and
a minimum height of 30mm.
DocSign.Rectangle docSignRectangle = DocSign.Rectangle.FromTopLeft(25, 25, 50, 30);
Behaviour behaviour = Behaviour.GetDefault().SignInDocument(docSignRectangle);