EPadLink ePad Vision Manual de usuario Pagina 19

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 27
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 18
19 www.epadlink.com
Integration Guide (ePad-vision SDK for Chrome & Firefox)
Command
Number identifying the command. 2 for close connection.
Inking
False
inkRegionx
0
inkRegiony
0
inkRegionWidth
0
inkRegionHeight
0
widgetLayout
Empty String
Output Message
{"command":2,"status":False,"message":"Could not find a signature pad."}
Parameter
Description
Command
Number identifying the command. 2 for close connection.
Status
True if connection is successfully closed, false otherwise.
Message
Empty in case connection is successfully closed message in case
connection close fails.
9.3 Create Screen (No signature)
Creates a screen on the ePad-vision device. Should be called after opening a connection
Input Message
{"command": 3 , "inking": false , "inkRegionx": 0 , "inkRegiony": 0, "inkRegionWidth": 0 , "inkRegionHeight":0,
"widgetLayout": "XML String containing widget information" }
Parameter
Description
Command
Number identifying the command. 3 for screen creation.
Inking
False
inkRegionx
0
inkRegiony
0
inkRegionWidth
0
inkRegionHeight
0
widgetLayout
XML String containing widgets to be created on ePad vision screen.
Here is a sample XML (Sample application of SDK uses this for widgetLayout parameter) for creating a
screen with widgets, which has text widgets, push buttons, and radio buttons. Each widget can specify
the ID, type, font details, location and size on the device etc.
"<WidgetLayout><Widget ID=\"11\" Type=\"TEXT\" FontName=\"SAN_B_24\" BGColor=\"0000FF\"
FGColor=\"ffd700\" Width=\"450\" Height=\"100\" X=\"10\" Y=\"10\" Effect=\"NONE\" Text=\"In this transaction, you
have the option to capture your signature electronically or enter your pin or opt-out. Please make your selection
below.\" /><Widget ID=\"12\" Type=\"RADIOBUTTON\" FontName=\"SAN_B_16\" BGColor=\"0000FF\"
FGColor=\"ffd700\" Width=\"320\" Height=\"34\" X=\"50\" Y=\"110\" Effect=\"NONE\" Text=\"Continue with signing
process electronically\" GrpID=\"1\" /><Widget ID=\"13\" Type=\"RADIOBUTTON\" FontName=\"SAN_B_16\"
Vista de pagina 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 25 26 27

Comentarios a estos manuales

Sin comentarios