Hi,
we send you attached a small project. It has a BitmapViewer control so we can see the images and also a VObjectRubberBand so we add some rectangles, Ellipse etc.
Project code, comes from code found in samples.
When you run it, goto File->Open File and select a file. After, press toolbar button to create a rectangle and create 1 rectangle. Then press button for Ellipse and create 1 ellipse. Then press button few new Line and create 1 line.
Here comes the 2 questions we have:1)We really do not care about creating many layers and handling with them, giving them new names, deleting etc. as shown in MultiLayerImage Editor DEMO sample. The only thing we want is to bring one object InFront or Send it Back. You will notice that in our sample, always the 2nd object is above the first and the 3rd is above 2nd and so on.
What code we need to write on toolbar buttons BringToFront and SendToBack?
2)We want to make the line tool, look like an arrow. Please see previous post by firamax(it's me - before purchasing)
Subject:Creating arrow annotation?
Posted: 21 September 2007 10:03:24
Alex Kon says "Another way is to create custom VObject and draw arrow by yourself. This is more flexible and, of course, labour-intensive way. "
Any idea how to implement this in action so instead of creating simple line, to be able to create this arrow? We need to have arrow so we can point to an important part of image.
cpav
File Attachment(s):
aurigma big.zip (121kb) downloaded 2 time(s).