com.groupdocs.signature.options.textsignature

Class SignTextOptions

    • Constructor Detail

      • SignTextOptions

        public SignTextOptions()

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

      • SignTextOptions

        public SignTextOptions(String text)

        Initializes a new instance of the SignTextOptions class with text.

        Parameters:
        text - Signature text
    • Method Detail

      • getBackgroundColor

        public Color getBackgroundColor()

        Gets or sets the background color of signature.

      • getBorderColor

        public Color getBorderColor()

        Gets or sets the border color of signature.

      • getFont

        public SignatureFont getFont()

        Gets or sets the font of signature.

      • getForeColor

        public Color getForeColor()

        Gets or sets the fore color of signature.

      • getHeight

        public int getHeight()

        Height of Signature on Document Page in Measure values (pixels or percent see MeasureType SizeMeasureType property).

        Specified by:
        getHeight in interface IRectangle
      • getHorizontalAlignment

        public int getHorizontalAlignment()

        Horizontal alignment of signature on document page.

        Specified by:
        getHorizontalAlignment in interface IAlignment
      • getLeft

        public int getLeft()

        Left X position of Signature on Document Page in Measure values (pixels or percent see MeasureType LocationMeasureType property). (works if horizontal alignment is not specified).

        Specified by:
        getLeft in interface IRectangle
      • getLocationMeasureType

        public int getLocationMeasureType()

        Measure type (pixels or percent) for Left and Top properties.

        Specified by:
        getLocationMeasureType in interface IRectangle
      • getMargin

        public Padding getMargin()

        Gets or sets the space between Sign and Document edges. (works ONLY if horizontal or vertical alignment are specified).

        Specified by:
        getMargin in interface IAlignment
      • getMarginMeasureType

        public int getMarginMeasureType()

        Gets or sets the measure type (pixels or percent) for Margin.

        Specified by:
        getMarginMeasureType in interface IAlignment
      • getRotationAngle

        public int getRotationAngle()

        Rotation angle of signature on document page (clockwise).

        Specified by:
        getRotationAngle in interface IRotation
      • getSignAllPages

        public boolean getSignAllPages()

        Put signature on all document pages.

      • getSizeMeasureType

        public int getSizeMeasureType()

        Measure type (pixels or percent) for Width and Height properties.

        Specified by:
        getSizeMeasureType in interface IRectangle
      • getStretch

        public int getStretch()

        Stretch mode on Document Page

        Specified by:
        getStretch in interface IRectangle
      • getText

        public String getText()

        Gets or sets the text of signature.

      • getTop

        public int getTop()

        Top Y Position of Signature on Document Page in Measure values (pixels or percent see MeasureType LocationMeasureType property). (works if vertical alignment is not specified).

        Specified by:
        getTop in interface IRectangle
      • getVerticalAlignment

        public int getVerticalAlignment()

        Vertical alignment of signature on document page.

        Specified by:
        getVerticalAlignment in interface IAlignment
      • getWidth

        public int getWidth()

        Width of Signature on Document Page in Measure values (pixels or percent see MeasureType SizeMeasureType property).

        Specified by:
        getWidth in interface IRectangle
      • setBackgroundColor

        public void setBackgroundColor(Color value)

        Gets or sets the background color of signature.

      • setBorderColor

        public void setBorderColor(Color value)

        Gets or sets the border color of signature.

      • setFont

        public void setFont(SignatureFont value)

        Gets or sets the font of signature.

      • setForeColor

        public void setForeColor(Color value)

        Gets or sets the fore color of signature.

      • setHeight

        public void setHeight(int value)

        Height of Signature on Document Page in Measure values (pixels or percent see MeasureType SizeMeasureType property).

        Specified by:
        setHeight in interface IRectangle
      • setHorizontalAlignment

        public void setHorizontalAlignment(int value)

        Horizontal alignment of signature on document page.

        Specified by:
        setHorizontalAlignment in interface IAlignment
      • setLeft

        public void setLeft(int value)

        Left X position of Signature on Document Page in Measure values (pixels or percent see MeasureType LocationMeasureType property). (works if horizontal alignment is not specified).

        Specified by:
        setLeft in interface IRectangle
      • setLocationMeasureType

        public void setLocationMeasureType(int value)

        Measure type (pixels or percent) for Left and Top properties.

        Specified by:
        setLocationMeasureType in interface IRectangle
      • setMargin

        public void setMargin(Padding value)

        Gets or sets the space between Sign and Document edges. (works ONLY if horizontal or vertical alignment are specified).

        Specified by:
        setMargin in interface IAlignment
      • setMarginMeasureType

        public void setMarginMeasureType(int value)

        Gets or sets the measure type (pixels or percent) for Margin.

        Specified by:
        setMarginMeasureType in interface IAlignment
      • setRotationAngle

        public void setRotationAngle(int value)

        Rotation angle of signature on document page (clockwise).

        Specified by:
        setRotationAngle in interface IRotation
      • setSignAllPages

        public void setSignAllPages(boolean value)

        Put signature on all document pages.

      • setSizeMeasureType

        public void setSizeMeasureType(int value)

        Measure type (pixels or percent) for Width and Height properties.

        Specified by:
        setSizeMeasureType in interface IRectangle
      • setStretch

        public void setStretch(int value)

        Stretch mode on Document Page

        Specified by:
        setStretch in interface IRectangle
      • setText

        public void setText(String value)

        Gets or sets the text of signature.

      • setTop

        public void setTop(int value)

        Top Y Position of Signature on Document Page in Measure values (pixels or percent see MeasureType LocationMeasureType property). (works if vertical alignment is not specified).

        Specified by:
        setTop in interface IRectangle
      • setVerticalAlignment

        public void setVerticalAlignment(int value)

        Vertical alignment of signature on document page.

        Specified by:
        setVerticalAlignment in interface IAlignment
      • setWidth

        public void setWidth(int value)

        Width of Signature on Document Page in Measure values (pixels or percent see MeasureType SizeMeasureType property).

        Specified by:
        setWidth in interface IRectangle