CustomAnnotation - don't want to select annot. after draw
Posted: Tue Jan 31, 2012 8:37 am
I've made custom annotation class which overrides LinesAnnotation.
After drawing that annotation(customed) on annotationviewer, it selected automatically.
I want to select custom annotation manually, but not select automatically after drawing.
Can I do that with OnFinishBuilding(System.Drawing.PointF point)? Or anotherway?
class MyLineAnnotation : LinesAnnotation
{
protected override void OnBuilding(MouseEventArgs e, MouseActions action)
{
... ...
}
protected override void OnFinishBuilding(System.Drawing.PointF point)
{
base.OnFinishBuilding(point);
// how can I reach the goal...
}
}
Best Regards,
Jun Hee.
After drawing that annotation(customed) on annotationviewer, it selected automatically.
I want to select custom annotation manually, but not select automatically after drawing.
Can I do that with OnFinishBuilding(System.Drawing.PointF point)? Or anotherway?
class MyLineAnnotation : LinesAnnotation
{
protected override void OnBuilding(MouseEventArgs e, MouseActions action)
{
... ...
}
protected override void OnFinishBuilding(System.Drawing.PointF point)
{
base.OnFinishBuilding(point);
// how can I reach the goal...
}
}
Best Regards,
Jun Hee.