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





In This Topic
AnnotationEditor Class
In This Topic
The AnnotationEditor class helps you to handle and process GdPictureXMP annotations in your application through the associated AnnotationManager object.
Syntax
'Declaration
 
<ToolboxBitmapAttribute(GdPicture14.AnnotationEditor, "annotationeditor.bmp")>
<DesignerAttribute("System.Windows.Forms.Design.UserControlDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)>
<DesignerCategoryAttribute("UserControl")>
<DefaultEventAttribute("Load")>
<DefaultPropertyAttribute("Text")>
<DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
<ToolboxItemFilterAttribute("System.Windows.Forms")>
Public NotInheritable Class AnnotationEditor 
   Inherits System.Windows.Forms.UserControl
[ToolboxBitmap(GdPicture14.AnnotationEditor, "annotationeditor.bmp")]
[Designer("System.Windows.Forms.Design.UserControlDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
[DesignerCategory("UserControl")]
[DefaultEvent("Load")]
[DefaultProperty("Text")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItemFilter("System.Windows.Forms")]
public sealed class AnnotationEditor : System.Windows.Forms.UserControl 
public class AnnotationEditor = class(System.Windows.Forms.UserControl)sealed; 
ToolboxBitmapAttribute(GdPicture14.AnnotationEditor, "annotationeditor.bmp")
DesignerAttribute("System.Windows.Forms.Design.UserControlDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)
DesignerCategoryAttribute("UserControl")
DefaultEventAttribute("Load")
DefaultPropertyAttribute("Text")
DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
ToolboxItemFilterAttribute("System.Windows.Forms")
public sealed class AnnotationEditor extends System.Windows.Forms.UserControl
[ToolboxBitmap(GdPicture14.AnnotationEditor, "annotationeditor.bmp")]
[Designer("System.Windows.Forms.Design.UserControlDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
[DesignerCategory("UserControl")]
[DefaultEvent("Load")]
[DefaultProperty("Text")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItemFilter("System.Windows.Forms")]
public __gc __sealed class AnnotationEditor : public System.Windows.Forms.UserControl 
[ToolboxBitmap(GdPicture14.AnnotationEditor, "annotationeditor.bmp")]
[Designer("System.Windows.Forms.Design.UserControlDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
[DesignerCategory("UserControl")]
[DefaultEvent("Load")]
[DefaultProperty("Text")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItemFilter("System.Windows.Forms")]
public ref class AnnotationEditor sealed : public System.Windows.Forms.UserControl 
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 create and integrate the AnnotationEditor object 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)
//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);
Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ScrollableControl
               System.Windows.Forms.ContainerControl
                  System.Windows.Forms.UserControl
                     GdPicture14.AnnotationEditor

See Also