'Declaration
Public Sub ReloadAnnotations()
public void ReloadAnnotations()
public procedure ReloadAnnotations();
public function ReloadAnnotations();
public: void ReloadAnnotations();
public: void ReloadAnnotations();
We recommend to only use this method if the currently displayed document has been edited by another object. Afterwards, you need to call the Redraw method to refresh the control for displaying all required changes.
'Declaration
Public Sub ReloadAnnotations()
public void ReloadAnnotations()
public procedure ReloadAnnotations();
public function ReloadAnnotations();
public: void ReloadAnnotations();
public: void ReloadAnnotations();
The method only handles GdPicture/XMP annotations as well.
'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(); }