FieldOptionsBuilder

FieldOptionsBuilder

new FieldOptionsBuilder()

Description:

Methods

setVisible(visible)

Description:
  • Sets the seal visibility flag. Specifies whether the signature field is visible. The default value of true creates a visible signature.

Parameters:
Name Type Description
visible boolean

the seal visibility flag

Returns:

this Builder instance to add any additional parameters

setPageNumber(pageNumber)

Description:
  • Sets the page number for seal

Parameters:
Name Type Description
pageNumber Number

the page number of input pdf document

Returns:

this Builder instance to add any additional parameters

setFieldLocation(fieldLocation)

Description:
  • Sets the location for the seal field in the document.

Parameters:
Name Type Description
fieldLocation FieldLocation

the seal field location instance

Returns:

this Builder instance to add any additional parameters

build()

Description:
  • Returns a new FieldOptions instance built from the current state of this builder.

Returns:

a new FieldOptions instance