how can I create a Stampannotation with an userdefinded size on mouse click.
I try with this code:
Dim ann As New StampAnnotation()
ann.Text = "Rubber stamp"
ann.ZOrder = _zOrder
ann.Size = New SizeF(450, 800)
_zOrder += 1
Try
annotationViewer1.BuildAnnotation(ann)
Catch ex As InvalidOperationException
MessageBox.Show(ex.Message, "Building annotation")
End Try
The stamp has only a size of (1,1) on release the mousebutton.Have anyone a solution for this problem?
regards
Michael
