I’m looking to use the runtime editable lineannotation, I’ve set everything up and I can drag the line around with no problems. But, I couldn’t find a way to constraint the lineannotations’s movement, for example I only want the line annotation to be editable on the Y axis while the X values should be constant. Is there a way to do this? The HorizontalLineAnnotation seems to have this constraint but Horizontal and Vertical Line annotations always starts at zero, which is not what I’m going for.
Thanks for the question. Annotations have the ResizeDirections property, which is used to constraint resize direction to only one coordinate. So if you set it either to XDirection or YDirection, you should get the desired behavior.
Hope it helps,
Please login first to submit.