SignaturePlacementRequest

A pending request to add a created signature to the document. Resolve it with proceed or cancel.

Properties

Link copied to clipboard

Proposed bounding box in PDF coordinates of that page.

Link copied to clipboard

The signature form field being signed, or null for a free-standing signature. A form field has a fixed location, so you will usually proceed in that case.

Link copied to clipboard

Page the signature is proposed to be placed on.

Link copied to clipboard

The signature the user created or picked.

Functions

Link copied to clipboard

Does not add the signature to the document, leaving that to you. Only the first resolution counts.

Link copied to clipboard
fun proceed(pageIndex: Int = this.pageIndex, boundingBox: RectF = this.boundingBox)

Adds the signature. Without arguments it goes to the proposed pageIndex and boundingBox; pass another page or bounding box, in PDF coordinates of that page, to place it elsewhere. The signature is scaled to fit the box, so keep its aspect ratio close to boundingBox's. Only the first resolution counts.