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?
Dim ann As New StampAnnotation()
ann.Text = "Rubber stamp"
ann.ZOrder = _zOrder
ann.Size = New SizeF(450, 800)
_zOrder += 1
Try
annotationViewer1.Annotations(0).Add(ann)
Catch ex As InvalidOperationException
MessageBox.Show(ex.Message, "Building annotation")
End Try
What is your goal? Do you need to specify minimal size of annotation before building? Could you explain me, step by step, how do you imagine this?
thank you for your reply. I am late, butI was on my christmas vacation.
#Do you need to specify minimal size of annotation before building?
Yes thats my goal. The User create with an stamp a stampannotation and this should be in
default size. After that the user can change the size of this stamp.