How to draw a rectangle on AxWebBrowser to high light one html element?
- From: "Andy Chen" <ppstay@xxxxxxxxxxx>
- Date: Mon, 23 Jan 2006 13:02:20 +0800
Hi,
Now I can get the rectangle to draw, but it seems the rectangle is not
visible. The following code is used to draw the rectangle. Hope someone can
help. Thanks very much!
SolidBrush brush = new
System.Drawing.SolidBrush(System.Drawing.Color.Red);
Pen pen = new Pen(brush, 4);
Graphics formGraphics = Graphics.FromHwnd(this.axWebBrowser.Handle);
formGraphics.DrawRectangle(pen, rect);
.
- Follow-Ups:
- Re: How to draw a rectangle on AxWebBrowser to high light one html element?
- From: Nicholas Paldino [.NET/C# MVP]
- Re: How to draw a rectangle on AxWebBrowser to high light one html element?
- Prev by Date: Re: Referencing a type w/o included source?
- Next by Date: Re: Referencing a type w/o included source?
- Previous by thread: Using xdoclet for C#
- Next by thread: Re: How to draw a rectangle on AxWebBrowser to high light one html element?
- Index(es):
Relevant Pages
|