Initializes a new instance of the ImageSignOptions class with default values.
ImageSignOptions(String imageFilePath)
public ImageSignOptions(String imageFilePath)
Initializes a new instance of the ImageSignOptions class with image file.
Parameters:
Parameter
Type
Description
imageFilePath
java.lang.String
Image file path
ImageSignOptions(InputStream imageStream)
public ImageSignOptions(InputStream imageStream)
Initializes a new instance of the ImageSignOptions class with image stream.
Parameters:
Parameter
Type
Description
imageStream
java.io.InputStream
Image stream
getImageFilePath()
public final String getImageFilePath()
Gets or sets the signature image file path.
This property is used only if ImageStream is not specified.
Returns:
java.lang.String
setImageFilePath(String value)
public final void setImageFilePath(String value)
Gets or sets the signature image file path.
This property is used only if ImageStream is not specified.
Parameters:
Parameter
Type
Description
value
java.lang.String
getImageStream()
public final InputStream getImageStream()
Gets or sets the signature image stream.
If this property is specified it is always used instead ImageGuid.
Returns:
java.io.InputStream
setImageStream(InputStream value)
public final void setImageStream(InputStream value)
Gets or sets the signature image stream.
If this property is specified it is always used instead ImageGuid.
Parameters:
Parameter
Type
Description
value
java.io.InputStream
getLeft()
public int getLeft()
Left X position of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType LocationMeasureType).
(works if horizontal alignment is not specified).
Returns:
int
setLeft(int value)
public void setLeft(int value)
Left X position of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType LocationMeasureType).
(works if horizontal alignment is not specified).
Parameters:
Parameter
Type
Description
value
int
getTop()
public int getTop()
Top Y Position of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType LocationMeasureType).
(works if vertical alignment is not specified).
Returns:
int
setTop(int value)
public void setTop(int value)
Top Y Position of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType LocationMeasureType).
(works if vertical alignment is not specified).
Parameters:
Parameter
Type
Description
value
int
getWidth()
public final int getWidth()
Width of Signature on Document Page in Measure values
(pixels, percents or millimeters MeasureType SizeMeasureType).
Returns:
int
setWidth(int value)
public final void setWidth(int value)
Width of Signature on Document Page in Measure values
(pixels, percents or millimeters MeasureType SizeMeasureType).
Parameters:
Parameter
Type
Description
value
int
getHeight()
public final int getHeight()
Height of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType SizeMeasureType).
Returns:
int
setHeight(int value)
public final void setHeight(int value)
Height of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType SizeMeasureType).
Parameters:
Parameter
Type
Description
value
int
getLocationMeasureType()
public int getLocationMeasureType()
Measure type (pixels, percents or millimeters) for Left and Top properties.
Returns:
int
setLocationMeasureType(int value)
public void setLocationMeasureType(int value)
Measure type (pixels, percents or millimeters) for Left and Top properties.
Parameters:
Parameter
Type
Description
value
int
getSizeMeasureType()
public int getSizeMeasureType()
Measure type (pixels, percents or millimeters) for Width and Height properties.
Returns:
int
setSizeMeasureType(int value)
public void setSizeMeasureType(int value)
Measure type (pixels, percents or millimeters) for Width and Height properties.
Parameters:
Parameter
Type
Description
value
int
getStretch()
public final int getStretch()
Stretch mode on Document Page.
Returns:
int
setStretch(int value)
public final void setStretch(int value)
Stretch mode on Document Page.
Parameters:
Parameter
Type
Description
value
int
getRotationAngle()
public final int getRotationAngle()
Rotation angle of signature on document page (clockwise).
Returns:
int
setRotationAngle(int value)
public final void setRotationAngle(int value)
Rotation angle of signature on document page (clockwise).
Parameters:
Parameter
Type
Description
value
int
getHorizontalAlignment()
public final int getHorizontalAlignment()
Horizontal alignment of signature on document page.
Returns:
int
setHorizontalAlignment(int value)
public final void setHorizontalAlignment(int value)
Horizontal alignment of signature on document page.
Parameters:
Parameter
Type
Description
value
int
getVerticalAlignment()
public final int getVerticalAlignment()
Vertical alignment of signature on document page.
Returns:
int
setVerticalAlignment(int value)
public final void setVerticalAlignment(int value)
Vertical alignment of signature on document page.
Parameters:
Parameter
Type
Description
value
int
getMargin()
public Padding getMargin()
Gets or sets the space between Sign and Document edges.
(works ONLY if horizontal or vertical alignment are specified).