GdPicture.NET.14
GdPicture14 Namespace / AnnotationEditor Class / AnnotationEditor Constructor
Example





In This Topic
AnnotationEditor Constructor
In This Topic
A standard constructor for the AnnotationEditor class. It initializes an instance of the AnnotationEditor class.
Syntax
'Declaration
 
Public Function New()
public AnnotationEditor()
public AnnotationEditor(); 
public function AnnotationEditor();
public: AnnotationEditor();
public:
AnnotationEditor();
Remarks
Please find our Annotations Sample here to fully see, how to create, integrate and use the AnnotationEditor control in your application.
Example
How to create and integrate the AnnotationEditor control into your application.
'Define AnnotationEditor object in your application.
Friend WithEvents AnnotationEditor1 As AnnotationEditor
            
'Create an instance.
AnnotationEditor1 = New AnnotationEditor()
            
'Set your preferred properties here.
AnnotationEditor1.Name = "AnnotationEditor1"
AnnotationEditor1.BackColor = Color.FromArgb(255, 245, 245, 220)
            
'Add to your application controls.
Controls.Add(AnnotationEditor1)
            
'Probably the AnnotationEditor1 instance is disposed of automatically in your application,
'but you can still do it this way.
'AnnotationEditor1.Dispose()
//Define AnnotationEditor object in your application.
internal AnnotationEditor AnnotationEditor1;
            
//Create an instance.
AnnotationEditor1 = new AnnotationEditor();
            
//Set your preferred properties here.
AnnotationEditor1.Name = "AnnotationEditor1";
AnnotationEditor1.BackColor = Color.FromArgb(255, 245, 245, 220);
            
//Add to your application controls.
Controls.Add(AnnotationEditor1);
            
//Probably the AnnotationEditor1 instance is disposed of automatically in your application,
//but you can still do it this way.
//AnnotationEditor1.Dispose();
See Also