ReloadAnnotations Method (GdViewer)
Forces the control to reload all GdPicture/XMP annotations contained within the currently displayed page of the document loaded in the GdViewer control.
We recommend to only use this method if the currently displayed document has been edited by another object. Afterwards, you need to call the GdViewer.Redraw method to refresh the control for displaying all required changes.
How to properly reload displayed annotations.
'We assume that the GdViewer1 control has been properly integrated
'and your document has been properly displayed as well.
'If the displayed document has been changed from another object, you should call:
If (GdViewer1.GetAnnotationCount() > 0) Then
GdViewer1.ReloadAnnotations()
GdViewer1.Redraw()
End If
//We assume that the GdViewer1 control has been properly integrated
//and your document has been properly displayed as well.
//If the displayed document has been changed from another object, you should call:
if (GdViewer1.GetAnnotationCount() > 0)
{
GdViewer1.ReloadAnnotations();
GdViewer1.Redraw();
}