Background on Signature control?


#1

Is it possible to add a background image to the Signature control? I am trying to have something where a user can draw on top of an image. But can’t get it to add an image. I didn’t see property for it but since it says it supports the standard attributes I was trying to do it with a style. But no go.


#2

Got it to work by modifying sample code, here it is case anybody else needs it:

Dim pb
var img = new Image()
img.src = "JP_Logo.png"
sc = Signature1.getContext("2d")

on my load background button:

sc.drawImage(img,0,0)

#3

Thanks for posting this. The Signature control, like the PictureBox, is based on the HTML Canvas element.