using the gdviewer showing a pdf/tiff and the mouse is moved over an annotation i want to show a Tooltip containing information about the annotation (author,creation date,...).
I´m a little stuck here because the annotation is not a winforms object that a Tooltip can be added to, so any hints about how to accomplish this would be very nice.
Thanks in advance,
Code: Select all
Private Sub SetAnnotationsToolTips() Dim tt As New ToolTip For i As Integer = 0 To gdViewer.GetAnnotationCount Dim anno As GdPicture14.Annotations.Annotation = gdViewer.GetAnnotationFromIdx(i) tt.SetToolTip(anno, anno.Author & vbCrLf & anno.CreationTime.ToString("dd.MM.yyyy HH:mm:ss")) Next End Sub
Who is online
Users browsing this forum: No registered users and 2 guests