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:
Code: Select all
imageViewer1.FocusedImage.Rotate(90);
I tried rotating the image AND annotation using the following:
Code: Select all
imageViewer1.FocusedImage.Rotate(90);
foreach (AnnotationBase ab in imageViewer1.Annotations.SelectedCollection)
{
ab.Rotation = 90;
}
I haven't found anything in the example code that helps. Any ideas..?