Packages

 

com.groupdocs.signature.options.imagesignature

Class CellsSignImageOptions

    • Constructor Detail

      • CellsSignImageOptions

        public CellsSignImageOptions()

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

      • CellsSignImageOptions

        public CellsSignImageOptions(InputStream imageStream)

        Initializes a new instance of the CellsSignImageOptions class with image stream.

        Parameters:
        imageStream - Image Stream
      • CellsSignImageOptions

        public CellsSignImageOptions(String guid)

        Initializes a new instance of the CellsSignImageOptions class with image file GUID.

        Parameters:
        guid - Image file GUID
    • Method Detail

      • getColumnNumber

        public final int getColumnNumber()

        Gets or sets the left column number of signature (min value is 0). This property is mutually exclusive with Top property. When ColumnNumber is set Left property will be reset to 0.

        Specified by:
        getColumnNumber in interface ICellsPosition
      • getDocumentPageNumber

        public int getDocumentPageNumber()

        Gets or sets worksheet number for signing. Minimal value is 1.

        Overrides:
        getDocumentPageNumber in class SignOptions
      • getLeft

        public int getLeft()

        Gets or sets the position of the left edge of the Signature area in pixels. This property is mutually exclusive with Column property. If Left property is set ColumnNumber will be reset to 0.

        Specified by:
        getLeft in interface IRectangle
        Overrides:
        getLeft in class SignImageOptions
      • getLocationMeasureType

        public int getLocationMeasureType()

        Measure type (pixels, percents or millimeters) for Left and Top properties. If measure type is percents signature location is calculated according to worksheet area where cells with data or style are located.

        Specified by:
        getLocationMeasureType in interface IRectangle
        Overrides:
        getLocationMeasureType in class SignImageOptions
      • getMargin

        public Padding getMargin()

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

        Specified by:
        getMargin in interface IAlignment
        Overrides:
        getMargin in class SignImageOptions
      • getMarginMeasureType

        public int getMarginMeasureType()

        Measure type (pixels, percents or millimeters) for Margin. If measure type is percents signature margin is calculated according to worksheet area where cells with data or style are located.

        Specified by:
        getMarginMeasureType in interface IAlignment
        Overrides:
        getMarginMeasureType in class SignImageOptions
      • getRowNumber

        public final int getRowNumber()

        Gets or sets the top row number of signature (min value is 0). This property is mutually exclusive with Left property. When RowNumber is set Top property will be reset to 0.

        Specified by:
        getRowNumber in interface ICellsPosition
      • getSheetNumber

        public final int getSheetNumber()

        Gets or sets worksheet number for signing.

      • getSizeMeasureType

        public int getSizeMeasureType()

        Measure type (pixels, percents or millimeters) for Width and Height properties. If measure type is percents signature size is calculated according to worksheet area where cells with data or style are located.

        Specified by:
        getSizeMeasureType in interface IRectangle
        Overrides:
        getSizeMeasureType in class SignImageOptions
      • getTop

        public int getTop()

        Gets or sets the position of the top edge of the Signature area in pixels. This property is mutually exclusive with Row property. If Top property is set RowNumber will be reset to 0.

        Specified by:
        getTop in interface IRectangle
        Overrides:
        getTop in class SignImageOptions
      • setColumnNumber

        public final void setColumnNumber(int value)

        Gets or sets the left column number of signature (min value is 0). This property is mutually exclusive with Top property. When ColumnNumber is set Left property will be reset to 0.

        Specified by:
        setColumnNumber in interface ICellsPosition
      • setDocumentPageNumber

        public void setDocumentPageNumber(int value)

        Gets or sets worksheet number for signing. Minimal value is 1.

        Overrides:
        setDocumentPageNumber in class SignOptions
      • setLeft

        public void setLeft(int value)

        Gets or sets the position of the left edge of the Signature area in pixels. This property is mutually exclusive with Column property. If Left property is set ColumnNumber will be reset to 0.

        Specified by:
        setLeft in interface IRectangle
        Overrides:
        setLeft in class SignImageOptions
      • setLocationMeasureType

        public void setLocationMeasureType(int value)

        Measure type (pixels, percents or millimeters) for Left and Top properties. If measure type is percents signature location is calculated according to worksheet area where cells with data or style are located.

        Specified by:
        setLocationMeasureType in interface IRectangle
        Overrides:
        setLocationMeasureType in class SignImageOptions
      • setMargin

        public void setMargin(Padding value)

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

        Specified by:
        setMargin in interface IAlignment
        Overrides:
        setMargin in class SignImageOptions
      • setMarginMeasureType

        public void setMarginMeasureType(int value)

        Measure type (pixels, percents or millimeters) for Margin. If measure type is percents signature margin is calculated according to worksheet area where cells with data or style are located.

        Specified by:
        setMarginMeasureType in interface IAlignment
        Overrides:
        setMarginMeasureType in class SignImageOptions
      • setRowNumber

        public final void setRowNumber(int value)

        Gets or sets the top row number of signature (min value is 0). This property is mutually exclusive with Left property. When RowNumber is set Top property will be reset to 0.

        Specified by:
        setRowNumber in interface ICellsPosition
      • setSheetNumber

        public final void setSheetNumber(int value)

        Gets or sets worksheet number for signing.

      • setSizeMeasureType

        public void setSizeMeasureType(int value)

        Measure type (pixels, percents or millimeters) for Width and Height properties. If measure type is percents signature size is calculated according to worksheet area where cells with data or style are located.

        Specified by:
        setSizeMeasureType in interface IRectangle
        Overrides:
        setSizeMeasureType in class SignImageOptions
      • setTop

        public void setTop(int value)

        Gets or sets the position of the top edge of the Signature area in pixels. This property is mutually exclusive with Row property. If Top property is set RowNumber will be reset to 0.

        Specified by:
        setTop in interface IRectangle
        Overrides:
        setTop in class SignImageOptions