Report Create Annotation Context Menu in WinForm in Windows Forms Posted February 1, 2013 I'm having trouble to create a context menu on an annotation in Win Form. I created an annotation as below : Dim text As New Annotation.AnnotationText text.Text = "Test Annotation" text.SizeToFit() text.Color = Color.Yellow text.PlotAreaOnly = False text.AllowMove = True text.Rotate(False) text.AllowModify = False annAnnotations.List.Add(text) Please tell me how to show the context menu by right-clicking the annotation?
Create Annotation Context Menu in WinForm
in Windows Forms
Posted
I'm having trouble to create a context menu on an annotation in Win Form. I created an annotation as below :
Dim text As New Annotation.AnnotationText
text.Text = "Test Annotation"
text.SizeToFit()
text.Color = Color.Yellow
text.PlotAreaOnly = False
text.AllowMove = True
text.Rotate(False)
text.AllowModify = False
annAnnotations.List.Add(text)
Please tell me how to show the context menu by right-clicking the annotation?