TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > SignPad > Method >

 

SetSignInputMode

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > SignPad > Method >

 

SetSignInputMode

 

 

Sets the signature input mode when you click a signature area on the viewer window.

 

 

 

Prototype :

 

void SetSignInputMode

(

       string SignInputMode,

       [ bool MainScreen ]

)

 

 

 

Arguments :

 

SignInputMode

signature input mode. refer to SignInputModeConst

MainScreen

true for main screen

If not set, applies as true

 

 

 

Reference :

 

This is for a single signature, and works only when eform.signpad_type=keypad.

If you want to set SignInputMode to keypad, then the first argument of the SetAvailableSignInputMode function must be set to keypad.

 

 

 

Example :

 

//string

  This.SetAvailableSignInputMode("Keypad,Sign");

  This.SetSignInputMode("Keypad");

 

//constant

  This.SetAvailableSignInputMode(SignInputModeConst.Keypad + "," + SignInputModeConst.Sign);

  This.SetSignInputMode(SignInputModeConst.Keypad);

 

 

 

Available Events :

 

OnAddToPage,  OnBind,  OnInitialize,  OnStartBind

 

 

 

See also :

 

SignInputModeConst