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




Gets or sets the initial annotation object of this AnnAutomationObject.

Syntax

Visual Basic (Declaration) 
Public Overridable Property Object As AnnObject
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationObject
Dim value As AnnObject
 
instance.Object = value
 
value = instance.Object
C# 
public virtual AnnObject Object {get; set;}
Managed Extensions for C++ 
public: __property virtual AnnObject* get_Object();
public: __property virtual void set_Object( 
   AnnObject* value
);
C++/CLI 
public:
virtual property AnnObject^ Object {
   AnnObject^ get();
   void set (AnnObject^ value);
}

Return Value

The initial annotation object of this AnnAutomationObject.

Example

For an example, refer to AnnAutomationManager.

Remarks

The automation framework will use Clone to create new instances of the annotation object whenever the framework is instructed to draw a new object of this type. You should set the default properties (pen, brush, font, etc) of the object here. You should set this property to a valid object, the only automation object that has this value set to null (Nothing in Visual Basic) is the SelectObjectId.

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