An AnnotationManager object representing all relevant annotations data.
Example





In This Topic
GdPicture14 Namespace / AnnotationEditor Class / InitFromAnnotationManager Method

InitFromAnnotationManager Method (AnnotationEditor)

In This Topic
Initializes the AnnotationEditor object with corresponding annotations data through the specified AnnotationManager object.
Syntax
'Declaration
 
Public Sub InitFromAnnotationManager( _
   ByVal annotationManager As AnnotationManager _
) 
public void InitFromAnnotationManager( 
   AnnotationManager annotationManager
)
public procedure InitFromAnnotationManager( 
    annotationManager: AnnotationManager
); 
public function InitFromAnnotationManager( 
   annotationManager : AnnotationManager
);
public: void InitFromAnnotationManager( 
   AnnotationManager* annotationManager
) 
public:
void InitFromAnnotationManager( 
   AnnotationManager^ annotationManager
) 

Parameters

annotationManager
An AnnotationManager object representing all relevant annotations data.
Remarks
Please find our Annotations Sample here to fully see, how to create, integrate and use the AnnotationEditor object in your application.
Example
How to initialize the AnnotationEditor object through the AnnotationManager object.
'We assume that the GdViewer1 control has been properly integrated in your application.
AnnotationManager annotMngr = GdViewer1.GetAnnotationManager()
Dim annotEditor As AnnotationEditor = New AnnotationManager()
annotEditor.InitFromAnnotationManager(annotMngr)
//We assume that GdViewer1 control has been properly integrated in your application.
AnnotationManager annotMngr = GdViewer1.GetAnnotationManager();
AnnotationEditor annotEditor = new AnnotationEditor();
annotEditor.InitFromAnnotationManager(annotMngr);
See Also