Is there a way to enable drawing on top of the webbrowser document?
I tried this:
but nothing happens. Help would be appreciated.
I tried this:
Code:
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
Dim a As Graphics = WebBrowser1.CreateGraphics
a.FillRectangle(Brushes.Black, 5, 5, 50, 50)
End Sub