I had the following code that was working when i was using gd picture 8
Code: Select all
_AnnotationManager = New AnnotationManager
_AnnotationManager.InitFromGdViewer(gdPicEdit)
_AnnotationManager.SelectPage(CurrentPage)
For Each item In AnnRows
AddAnnotationsToView(item)
Next
_AnnotationManager.Close()
gdPicEdit.ReloadAnnotations()
but when i moved to GdPicture 9 the above code stopped working when calling ReloadAnnotations(), i checked it through the following, before the call to close() i check the value returned by GetAnnotationCount in _AnnotationManager which was as expected but when i call ReloadAnnotations() and check GetAnnotationCount () in GdViewer, it returns zero(incorrect)