Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
AnnObject Class
See Also  Members   Example 
Leadtools.Annotations Namespace : AnnObject Class




This is the base class for all annotation objects.

Object Model













Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public MustInherit Class AnnObject 
   Inherits AnnDrawable
Visual Basic (Usage)Copy Code
Dim instance As AnnObject
C# 
[SerializableAttribute()]
public abstract class AnnObject : AnnDrawable 
Managed Extensions for C++ 
[SerializableAttribute()]
public __gc abstract class AnnObject : public AnnDrawable 
C++/CLI 
[SerializableAttribute()]
public ref class AnnObject abstract : public AnnDrawable 

Example

This example displays the rotate angle of an AnnObject.

Visual BasicCopy Code
Public Sub AnnObject_AnnObject(ByVal container As AnnContainer)
   For Each obj As AnnObject In container.Objects
      Dim s As String = String.Format("Type: {0}, Name: {1}, Hyperlink: {2}", obj.GetType().Name, obj.Name, obj.Hyperlink)
      MessageBox.Show(s)
   Next obj
End Sub
C#Copy Code
public void AnnObject_AnnObject(AnnContainer container) 

   foreach(AnnObject obj in container.Objects) 
   { 
      string s = string.Format("Type: {0}, Name: {1}, Hyperlink: {2}", obj.GetType().Name, obj.Name, obj.Hyperlink); 
      MessageBox.Show(s); 
   } 
}

Remarks

The AnnObject class provides all the basic functionality common to all LEADTOOLS annotation objects.

The AnnObject is an abstract class, you cannot instantiate objects of this class directly.

Inheritance Hierarchy

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features