Class FieldOptions.Builder

    • Constructor Detail

      • Builder

        public Builder​(String fieldName)
        Constructs a Builder instance.
    • Method Detail

      • setVisible

        public FieldOptions.Builder setVisible​(Boolean visible)
        Sets the seal visibility flag. Specifies whether the signature field is visible. The default value of true creates a visible signature.
        Parameters:
        visible - the seal visibility flag
        Returns:
        this Builder instance to add any additional parameters
      • setFieldLocation

        public FieldOptions.Builder setFieldLocation​(FieldLocation fieldLocation)
        Sets the location for the seal field in the document.
        Parameters:
        fieldLocation - the seal field location instance
        Returns:
        this Builder instance to add any additional parameters
      • setPageNumber

        public FieldOptions.Builder setPageNumber​(Integer pageNumber)
        Sets the page number for seal.
        Parameters:
        pageNumber - the page number of input pdf document
        Returns:
        this Builder instance to add any additional parameters
      • build

        public FieldOptions build()
        Returns a new FieldOptions instance built from the current state of this builder.
        Returns:
        a new FieldOptions instance