| Package | Description |
|---|---|
| com.silanis.esl.sdk.builder |
Builder classes provide high-level support for creating model objects.
|
| Modifier and Type | Method and Description |
|---|---|
static SignatureBuilder |
SignatureBuilder.acceptanceFor(GroupId groupId)
Creates a SignatureBuilder instance for any members of the group provided as parameter.
|
static SignatureBuilder |
SignatureBuilder.acceptanceFor(Placeholder roleId)
Creates an acceptance consent for the signer having the placeholder's id provided
|
static SignatureBuilder |
SignatureBuilder.acceptanceFor(String signerEmail)
Creates an acceptance consent for the signer having the email address provided.
|
SignatureBuilder |
SignatureBuilder.atPosition(double x,
double y)
Sets the pixel coordinates, relative to the original document, where this signature will be placed at inside the page.
|
static SignatureBuilder |
SignatureBuilder.captureFor(GroupId groupId)
Creates a SignatureBuilder instance for the signer with the group id provided as parameter
The signature style will be also set to SignatureStyle.HAND_DRAWN
|
static SignatureBuilder |
SignatureBuilder.captureFor(Placeholder roleId)
Creates a SignatureBuilder instance for the signer with the placeholder's id provided as parameter
The signature style will be also set to SignatureStyle.HAND_DRAWN
|
static SignatureBuilder |
SignatureBuilder.captureFor(String signerEmail)
Creates a SignatureBuilder instance for the signer with the email address provided as parameter.
|
SignatureBuilder |
SignatureBuilder.disabled()
Marks the signature as disabled.
|
SignatureBuilder |
SignatureBuilder.enableEnforceCaptureSignature()
Enables the signature level enforceCaptureSignature setting.
|
static SignatureBuilder |
SignatureBuilder.initialsFor(GroupId groupId)
Creates a SignatureBuilder instance for any members of the group provided as parameter.
|
static SignatureBuilder |
SignatureBuilder.initialsFor(Placeholder roleId)
Creates a SignatureBuilder instance for the signer with the placeholder's id provided as parameter
The signature style will be also set toSignatureStyle.INITIALS
|
static SignatureBuilder |
SignatureBuilder.initialsFor(String signerEmail)
Creates a SignatureBuilder instance for the signer with the email address provided as parameter.
|
SignatureBuilder |
SignatureBuilder.makeOptional()
Marks the signature as optional.
|
static SignatureBuilder |
SignatureBuilder.mobileCaptureFor(GroupId groupId)
Creates a SignatureBuilder instance for the signer with the group id provided as parameter
The signature style will be also set to SignatureStyle.MOBILE_CAPTURE
|
static SignatureBuilder |
SignatureBuilder.mobileCaptureFor(Placeholder roleId)
Creates a SignatureBuilder instance for the signer with the placeholder's id provided as parameter
The signature style will be also set to SignatureStyle.MOBILE_CAPTURE
|
static SignatureBuilder |
SignatureBuilder.mobileCaptureFor(String signerEmail)
Creates a SignatureBuilder instance for the signer with the email address provided as parameter.
|
SignatureBuilder |
SignatureBuilder.onPage(int pageNumber)
Sets the page number where this signature will be placed on.
|
SignatureBuilder |
SignatureBuilder.setFromFile(boolean fromFile)
Enable capture signature to be from file
|
static SignatureBuilder |
SignatureBuilder.signatureFor(GroupId groupId)
Creates a SignatureBuilder instance for any members of the group provided as parameter.
|
static SignatureBuilder |
SignatureBuilder.signatureFor(Placeholder roleId)
Creates a SignatureBuilder instance for the placeholder having the role id as parameter
|
static SignatureBuilder |
SignatureBuilder.signatureFor(String signerEmail)
Creates a SignatureBuilder instance for the signer having the email address provided as parameter
|
SignatureBuilder |
SignatureBuilder.withField(Field field)
Adds a field to the signature
|
SignatureBuilder |
SignatureBuilder.withField(FieldBuilder builder)
Adds a field bound to the signature
|
SignatureBuilder |
SignatureBuilder.withFontSize(Integer fontSize)
Set a fontSize.
|
SignatureBuilder |
SignatureBuilder.withId(SignatureId id)
Set a custom ID for the signature.
|
SignatureBuilder |
SignatureBuilder.withName(String name)
Sets the name of the signature form field on the original PDF document.
|
SignatureBuilder |
SignatureBuilder.withPositionAnchor(TextAnchor textAnchor)
Enables positioning the signature relative to a text string in the
original document.
|
SignatureBuilder |
SignatureBuilder.withPositionAnchor(TextAnchorBuilder builder)
Enables positioning the signature relative to a text string in the
original document.
|
SignatureBuilder |
SignatureBuilder.withPositionExtracted()
Enables signature extraction.
|
SignatureBuilder |
SignatureBuilder.withSize(double width,
double height)
Sets the size, in pixel, of the signature
|
SignatureBuilder |
SignatureBuilder.withStyle(SignatureStyle style)
Sets the style of the signature.
|
SignatureBuilder |
SignatureBuilder.withTooltip(String tooltip)
Sets the signature's tooltip
|
| Modifier and Type | Method and Description |
|---|---|
DocumentBuilder |
DocumentBuilder.withSignature(SignatureBuilder builder)
Adds a signature to the document.
|
Copyright 2022 OneSpan All rights reserved.