Method SetSignatureRectangle
SetSignatureRectangle()
Sets the standard signature rectangle, if any.
Declaration
public Error SetSignatureRectangle()
Returns
Type | Description |
---|---|
Error | Success in case of success. |
SetSignatureRectangle(Int32, Int32, Int32, Int32, Object)
Sets the area on the display of the signature device that is to be used for capturing the drawn signature.
Declaration
public Error SetSignatureRectangle(int column, int row, int width, int height, object windowHandle = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | column | The left edge of the rectangle /pixel. |
System.Int32 | row | The upper edge of the rectangle /pixel. |
System.Int32 | width | The width of the rectangle /pixel. |
System.Int32 | height | The height of the rectangle /pixel. |
System.Object | windowHandle |
Returns
Type | Description |
---|---|
Error | Error |
Implements
Remarks
Passing zeroes sets the signature rectangle to full screen.
SetSignatureRectangle(Int32, Int32, Int32, Int32, Int32, Int32, SignRectOption, SignRectScrollCorrect)
Advanced signature rectangle setter intended for document signing mode.
Declaration
public Error SetSignatureRectangle(int column, int row, int width, int height, int posX, int posY, SignRectOption option, SignRectScrollCorrect scrollCorrect = SignRectScrollCorrect.None)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | column | The column of the left edge of the rectangle /pixel. |
System.Int32 | row | The row of the upper edge of the rectangle /pixel. |
System.Int32 | width | The width of the rectangle /pixel. |
System.Int32 | height | The height of the rectangle /pixel. |
System.Int32 | posX | |
System.Int32 | posY | |
SignRectOption | option | |
SignRectScrollCorrect | scrollCorrect | For DocSign. Corrects the scroll position of the set signature retcangle. |
Returns
Type | Description |
---|---|
Error | Error |
Implements
Remarks
If a signature process is started StartSignatureMode(SignMode) with DocumentSign
the three parameters scrollColumn
, scrollRow
, scrollOption
are used. Otherwise they are ignored.
Centered scrolling takes precedence over the given scrollRow/scrollColumn. If scrollOption CenterXY is passed both, scrollRow and scrollColumn, are ignored.