I have an image with couple of annotations on it (not merged). I want to be able to rotate the image AND annotations together (keeping same relative position) without merging them.
When I rotate the image using:
imageViewer1.FocusedImage.Rotate(90);- the image rotates but the annotations stay where they are.
I tried rotating the image AND annotation using the following:
imageViewer1.FocusedImage.Rotate(90);
foreach (AnnotationBase ab in imageViewer1.Annotations.SelectedCollection)
{
ab.Rotation = 90;
}
- which does rotate the annotation, but does not leave it in the same relative position on the image.I haven't found anything in the example code that helps. Any ideas..?
