提供Signature手寫板功能作為電子簽章使用。
Step1>       
 在Customers表裡增加Sign欄位,因為需要存取較大的數據,所以欄位的長度需要開大一些,比如:ntext。
打開rCustomers表單,在DataForm以及DataGrid上把Sign欄位加入。RWDDataForm上Sign欄位Editor下拉選擇signature。

Step2>       
 EditorOptions屬性,Format下拉選擇圖片的儲存格式為svgbase64,簽名區域的高度則是調整Height。

Step3>       
 在DataGrid上做簽名預覽,設定RWDDataGrid裡Sign欄位的Format屬性:signature

Step4>       
 APP執行結果如下圖:

在欄位上簽名後,按下確定存檔,DataGrid上會有簽章預覽。

再次打開DataForm編輯,按下重置鈕,可以重新簽章。
Related Topics