This is the base class for all annotation objects.
Object Model
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As AnnObject
|
Example
This example displays the rotate angle of an AnnObject.
Visual Basic | Copy 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
Inheritance Hierarchy
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also