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

 

SetCustomUI

<< 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 >

 

SetCustomUI

 

 

Sets the information of the signature area displayed on the signpad.

 

 

 

Prototype :

 

void SetCustomUI

(

       string CustomUI

)

 

 

 

Arguments :

 

CustomUI

Information of the signature area

 

 

 

Reference :

 

Sets CustomUI arguments to a JSON string in the format {"signview":{"Key1":"Value1","Key2":"Value2",...,"Keyn":"Valuen"}}.

The Key that can be set are as follows.

Key

Value

bordercolor

Border color of signature area

If not set, applies as "0000FF"

borderthick

Border thickness of signature area

Sets to an integer greater than 1

If not set, applies as 0

 

It works only when the signpad type is set to one of Dialog/Embedded/Keypad.

 

 

 

Example :

 

var str_json = "{" + "\"signview\":{\"bordercolor\":\"FFFF00\",\"borderthick\":5}" + "}";

This.SetCustomUI(str_json);

This.SetSignPadType("Dialog");

 

 

 

Available Events :

 

All Events