|
-
April 10th, 2009, 06:58 AM
#1
How to draw a small circle on image present in Imageviewer control?
Hi friends......
I wil load the image in to an imageviewer using
[code]
ImageViewer2.filename = App.Path + "\imgrock\" + a + ".jp2
[\code]
After loading the image to Imageviewer. I should draw a small circle on that image.
How to do this?
I should draw this much small circle------------------>[O]
Plzz tell me
Thank u
Seema
Prity
-
April 11th, 2009, 01:29 AM
#2
Re: How to draw a small circle on image present in Imageviewer control?
Where? How big? What Color? Shaded?
In other words, "How should we know what you mean?"
-
April 11th, 2009, 02:01 AM
#3
Re: How to draw a small circle on image present in Imageviewer control?
1st i wil load the image to the imageViewer using the below code
Code:
mageViewer2.filename = App.Path + "\imgrock\" + "img1.bmp"
After loading the image to Imageviewer. I should draw a small circle on that image.
How to do this?
I should draw this much small circle------------------>[O]
The circle can be any color.
Well Mr.Dglinna u had asked me---->
Where? How big? What Color? Shaded?
Where ever u click on the image there one circle should be drawn. It should be small not big. it should be like alphabet "o" that much small or less than that is also ok.
Shade any shade is ok but the circle should be visible to the user when ever and where ever user clicks on the image... It should happen onclick event.
Thank u
Plzz tell me the solution
Seema
Prity
-
April 11th, 2009, 02:32 AM
#4
Re: How to draw a small circle on image present in Imageviewer control?
Could you create a second image and onclick you unhide it and then place it above your other image?
-
April 11th, 2009, 02:57 AM
#5
Re: How to draw a small circle on image present in Imageviewer control?
See i tell u clearly any image i take on that i should be capable of drawing the circle thats it. I cant hide or unhide. well i will be getting the images continuously. when wil click the stop button that time i wil draw a circle on the image which is present there.......
Prity
-
April 11th, 2009, 10:30 AM
#6
Re: How to draw a small circle on image present in Imageviewer control?
Measure the SIZE of each image, add a border, and draw the circle.
-
April 14th, 2009, 03:09 PM
#7
Re: How to draw a small circle on image present in Imageviewer control?
What I already did tell to Miss Prity by email answers:
The ImageViewer control she is using seems not to be capable of drawing onto the image.
Also it does not expose an hDC handle or similar which would allow some API functions to draw onto the bitmap.
Whatever the idea behind this is, you cannot do that with the ImageViewer control.
If the image was to be loaded into a picturebox, things were different.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|