IAlignment
public interface IAlignment
Interface describes alignment of Signature area on document page.
Methods
| Method | Description |
|---|---|
| getHorizontalAlignment() | Horizontal alignment of Image on Document Page. |
| setHorizontalAlignment(int value) | Horizontal alignment of Image on Document Page. |
| getVerticalAlignment() | Vertical alignment of Image on Document Page. |
| setVerticalAlignment(int value) | Vertical alignment of Image on Document Page. |
| getMargin() | Gets the space that is specified by default between Image and Document edges (works if horizontal or vertical alignment is specified). |
| setMargin(Padding value) | Gets the space that is specified by default between Image and Document edges (works if horizontal or vertical alignment is specified). |
| getMarginMeasureType() | Margin measurement type (pixels, percents or millimeters). |
| setMarginMeasureType(int value) | Margin measurement type (pixels, percents or millimeters). |
getHorizontalAlignment()
public abstract int getHorizontalAlignment()
Horizontal alignment of Image on Document Page.
Returns: int
setHorizontalAlignment(int value)
public abstract void setHorizontalAlignment(int value)
Horizontal alignment of Image on Document Page.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getVerticalAlignment()
public abstract int getVerticalAlignment()
Vertical alignment of Image on Document Page.
Returns: int
setVerticalAlignment(int value)
public abstract void setVerticalAlignment(int value)
Vertical alignment of Image on Document Page.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getMargin()
public abstract Padding getMargin()
Gets the space that is specified by default between Image and Document edges (works if horizontal or vertical alignment is specified).
Returns: Padding
setMargin(Padding value)
public abstract void setMargin(Padding value)
Gets the space that is specified by default between Image and Document edges (works if horizontal or vertical alignment is specified).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Padding |
getMarginMeasureType()
public abstract int getMarginMeasureType()
Margin measurement type (pixels, percents or millimeters).
Returns: int
setMarginMeasureType(int value)
public abstract void setMarginMeasureType(int value)
Margin measurement type (pixels, percents or millimeters).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |