Skip to main content

eSeal

eSeal

This class provides the eSeal capture functionality.

Full qualification: com.florentis.signature.eSeal

Summary

Method
capture
close
Property
url
hAlign
vAlign
hScale
vScale
transparency
cacheImage
width
height
name
id
licence

Methods

capture

This method inserts an eSeal and optionally captures a handwritten signature.

public native int capture(SigCtl sigCtl, int captureMode, String who, String why, Hash what, Key key)
Parameters
sigCtlRequired SigCtl
captureMode

Required int, may be one of:
eSeal.RequireSignature - Insert eSeal and capture handwritten signature
eSeal.esNoSignature - Insert eSeal (without signature capture)
eSeal.esSignatureOptional - Insert eSeal and capture signature if tablet is available

whoRequired signatory name
whyRequired reason for signing
whatOptional Hash object (may be null)
keyOptional Key object (may be null)
Return Value
int esealCaptureReturn
0Signature captured successfully.
1Signature not captured because user cancelled
100No capture service available
101Pad Error
200Error - unable to parse document contents
300Error - unable to load eSeal image

close

This method "Closes" the object, releasing the underlying COM object (and thus freeing resources).

public native void close()
Parameters
None
Return Value
None

Properties

PropertyProperty TypeDescription
urlStringRead/Write String contains the URL of the image in a standard format: JPEG, PNG, TIF, GIF, BMP
hAlignintRead/Write int defines horizontal alignment of the image as one of: eSeal.esLeft, eSeal.esCentre (default), eSeal.esCenter, eSeal.esRight
vAlignintRead/Write int defines vertical alignment of the image as one of: eSeal.esTop, eSeal.esCentre (default), eSeal.esCenter, eSeal.esBottom
hScaleintRead/Write int defines percentage of X dimension (defaults to 100)
vScaleintRead/Write int defines percentage of Y dimension (defaults to 100)
transparencyintRead/Write int defines percentage of transparency: 100 = maximum, not visible; 0 = minimum, unchanged (default)
cacheImagebooleanRead/Write Boolean false if URL is to be accessed at time of signing, true if image is saved within the eSeal object. Defaults to false. For internal use only.
widthintRead-only int width of image in HIMETRIC 0.01mm units
heightintRead-only int height of image in HIMETRIC 0.01mm units
nameStringRead/Write String name for internal use only
idStringRead-only String for internal use only
licenceStringThe read/write property contains a licence string