Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Object Property
See Also 
Leadtools.Windows.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 AnnObjectBase
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationObject
Dim value As AnnObjectBase
 
instance.Object = value
 
value = instance.Object
C# 
public virtual AnnObjectBase Object {get; set;}
C++/CLI 
public:
virtual property AnnObjectBase^ Object {
   AnnObjectBase^ get();
   void set (AnnObjectBase^ value);
}
XAML Syntax 
For XAML information, see the Leadtools.Windows.Annotations.AnnObjectBase type.
XAML Syntax 
For XAML information, see the Leadtools.Windows.Annotations.AnnObjectBase type.

Return Value

The initial annotation object of this AnnAutomationObject.

Example

For C#/VB examples, refer to AnnAutomationManager.

Remarks

The automation framework will use AnnObjectBase.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 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

Object requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.