com.groupdocs.signature.options

Class PdfSignTextOptions

    • Constructor Detail

      • PdfSignTextOptions

        public PdfSignTextOptions()

        Initializes a new instance of the PdfSignTextOptions class with default values.

      • PdfSignTextOptions

        public PdfSignTextOptions(String text)

        Initializes a new instance of the PdfSignTextOptions class with text.

        Parameters:
        text - Signature text
      • PdfSignTextOptions

        public PdfSignTextOptions(String text,
                          int left,
                          int top,
                          int width,
                          int height)

        Initializes a new instance of the PdfSignTextOptions class with text and signature area rectangle.

        Parameters:
        text - Text signature
        left - The x-coordinate of the left edge of this Text Signature
        top - The y-coordinate of the top edge of this Text Signature
        width - The width of Text Signature
        height - The height of Text Signature
    • Method Detail

      • getOpacity

        public double getOpacity()

        Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)). By default the value is 1.0.

        Specified by:
        getOpacity in interface IOpacity
        Overrides:
        getOpacity in class SignOptions
      • setOpacity

        public void setOpacity(double value)

        Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)). By default the value is 1.0.

        Specified by:
        setOpacity in interface IOpacity
      • getSignatureID

        public int getSignatureID()

        Gets or sets the unique ID of signature. It can be used in signature verification options.

      • setSignatureID

        public void setSignatureID(int value)

        Gets or sets the unique ID of signature. It can be used in signature verification options.

      • getSignatureImplementation

        public int getSignatureImplementation()

        Gets or sets the type of text signature implementation.

      • setSignatureImplementation

        public void setSignatureImplementation(int value)

        Gets or sets the type of text signature implementation.

      • getFormTextFieldTitle

        public String getFormTextFieldTitle()

        Gets or sets the title of text form field to put text signature into it. This property could be used only with PdfTextSignatureImplementation = TextToFormField.

      • setFormTextFieldTitle

        public void setFormTextFieldTitle(String value)

        Gets or sets the title of text form field to put text signature into it. This property could be used only with PdfTextSignatureImplementation = TextToFormField.

      • getFormTextFieldType

        public int getFormTextFieldType()

        Gets or sets the type of form field to put text signature into it. This property could be used only with PdfTextSignatureImplementation = TextToFormField. Value by default is AllTextTypes.

      • setFormTextFieldType

        public void setFormTextFieldType(int value)

        Gets or sets the type of form field to put text signature into it. This property could be used only with PdfTextSignatureImplementation = TextToFormField. Value by default is AllTextTypes.

      • getProperOpacity

        public double getProperOpacity()

        Gets the signature opacity.

      • getImageBorder

        public com.groupdocs.signature.domain.ImageBorderData getImageBorder()

        Gets image border data.

        Overrides:
        getImageBorder in class SignOptions