I Need some help within the composite annotation resizing.
I created a composite annotation based on the composite annotations example. I need to calculate the range between to vertical line on the surface, so I took the MeasurmentXAnnotation.xaml as base code of mine.
however i need to be able to resize the composite annotation not only from the 4 edges (ResizingGrips), but also when the user drag the line annotations to left or to right.
Is there any way to achieve this?
I’m using boxAnnotation Object with some properties
for resize and drag only x direction
It looks like drag and resize only x direction but the box resize y direction a little bit
I do not use any special properties using boxAnnotation
use of course .withIsEditable for editing
and I also wonder when i declare new CustomIResizingGrip object with new Canvas
why withDragDirections, withResizeDirections dont work?