EPadLink ePad Vision Manual de usuario Pagina 20

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 27
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 19
20 www.epadlink.com
Integration Guide (ePad-vision SDK for Chrome & Firefox)
BGColor=\"0000FF\" FGColor=\"ffd700\" Width=\"170\" Height=\"34\" X=\"50\" Y=\"140\" Effect=\"NONE\"
Text=\"Entering pin number\" GrpID=\"1\" /><Widget ID=\"14\" Type=\"RADIOBUTTON\"
FontName=\"SAN_B_16\" BGColor=\"0000FF\" FGColor=\"ffd700\" Width=\"150\" Height=\"34\" X=\"50\"
Y=\"170\" Effect=\"NONE\" Text=\"Opt-out\" GrpID=\"1\" /><Widget ID=\"15\" Type=\"BUTTON\"
FontName=\"SAN_B_16\" BGColor=\"00FF00\" FGColor=\"ffd700\" Width=\"50\" Height=\"50\" X=\"200\"
Y=\"220\" Effect=\"ThreeD\" Text=\"OK\" GrpID =\"2\" /></WidgetLayout>"
For more information on XML refer to ePad-vision device driver documentation.
Output Message
{"command":3, status":false,”message”:” widget creation failed”}
Parameter
Description
Command
Number identifying the command. 3 for screen creation.
Status
True if command executes successfully, false otherwise.
Message
Empty in case create screen successful, message in case screen
creation fails.
The output message specifies if screen creation is successful or not. User selections or responses
(Widget Events) will be sent back as a separate output message (event), which is explained in detailed
in sections below.
9.4 Create Screen (Signature capture)
Creates a screen on the ePad-vision enabling users to scribble signatures on the device. Should be
called after opening a connection. For capturing signatures, inking must be enabled and then the region
on the device on which signature will be captured should be specified.
Input Message
{"command": 3 , "inking": true , "inkRegionx": 0 , "inkRegiony": 0, "inkRegionWidth": 480 ,
"inkRegionHeight":200, "widgetLayout": "XML String containing widget information" }
Parameter
Description
Command
Number identifying the command.3 for screen creation
Inking
True
inkRegionx
0
inkRegiony
0
inkRegionWidth
480 width of the ink capture region from top left
inkRegionHeight
200 height of the ink capture region from top left
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 button widgets, to accept, clear, and cancel the signatures.
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 26 27

Comentarios a estos manuales

Sin comentarios