Packages

 

com.groupdocs.signature.options.textsignature

Class WordsSignTextOptions

    • Constructor Detail

      • WordsSignTextOptions

        public WordsSignTextOptions()

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

      • WordsSignTextOptions

        public WordsSignTextOptions(String text)

        Initializes a new instance of the WordsSignTextOptions class with text.

        Parameters:
        text - Signature text
    • Method Detail

      • getBackgroundBrushStyle

        public Brush getBackgroundBrushStyle()

        Gets or sets the signature background brush. Value by default is null. When property has a value it is used instead BackgroundBrush property. For TextStamp implementation LinearGradientBrush (ColorStart) and RadialGradientBrush (ColorInner) are used as SolidBrush. It is not used for TextToFormField and Watermark implementations.

        Overrides:
        getBackgroundBrushStyle in class SignTextOptions
      • getBackgroundTransparency

        public final double getBackgroundTransparency()

        Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).

      • getBorderDashStyle

        public final int getBorderDashStyle()

        Gets or sets the signature border style.

      • getBorderTransparency

        public final double getBorderTransparency()

        Gets or sets the signature border transparency (value from 0.0 (opaque) through 1.0 (clear)).

      • getBorderWeight

        public final double getBorderWeight()

        Gets or sets the weight of the signature border.

      • getFormTextFieldTitle

        public final String getFormTextFieldTitle()

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

      • getFormTextFieldType

        public final int getFormTextFieldType()

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

      • getOpacity

        public final double getOpacity()

        Get or set Signature Opacity. This value should be in range 0 - 1 and it inverts BackgroundTransparency. Opacity = 1 - BackgroundTransparency

        Specified by:
        getOpacity in interface IOpacity
      • getShapeType

        public final int getShapeType()

        Gets or sets the type of shape to put text. This property could be used only with SignatureImplementation = TextStamp. Value by default is Rectangle.

      • getSignatureImplementation

        public final int getSignatureImplementation()

        Gets or sets the type of text signature implementation.

      • setBackgroundBrushStyle

        public void setBackgroundBrushStyle(Brush value)

        Gets or sets the signature background brush. Value by default is null. When property has a value it is used instead BackgroundBrush property. For TextStamp implementation LinearGradientBrush (ColorStart) and RadialGradientBrush (ColorInner) are used as SolidBrush. It is not used for TextToFormField and Watermark implementations.

        Overrides:
        setBackgroundBrushStyle in class SignTextOptions
      • setBackgroundTransparency

        public final void setBackgroundTransparency(double value)

        Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).

      • setBorderDashStyle

        public final void setBorderDashStyle(int value)

        Gets or sets the signature border style.

      • setBorderTransparency

        public final void setBorderTransparency(double value)

        Gets or sets the signature border transparency (value from 0.0 (opaque) through 1.0 (clear)).

      • setBorderWeight

        public final void setBorderWeight(double value)

        Gets or sets the weight of the signature border.

      • setFormTextFieldTitle

        public final 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 SignatureImplementation = TextToFormField.

      • setFormTextFieldType

        public final 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 SignatureImplementation = TextToFormField. Value by default is AllTextTypes.

      • setOpacity

        public final void setOpacity(double value)

        Get or set Signature Opacity. This value should be in range 0 - 1 and it inverts BackgroundTransparency. Opacity = 1 - BackgroundTransparency

        Specified by:
        setOpacity in interface IOpacity
      • setShapeType

        public final void setShapeType(int value)

        Gets or sets the type of shape to put text. This property could be used only with SignatureImplementation = TextStamp. Value by default is Rectangle.

      • setSignatureImplementation

        public final void setSignatureImplementation(int value)

        Gets or sets the type of text signature implementation.

      • setTextHorizontalAlignment

        public final void setTextHorizontalAlignment(int value)

        Horizontal alignment of text inside a signature.

        Specified by:
        setTextHorizontalAlignment in interface ITextAlignment