Visual Basic (Declaration) | |
---|---|
Public Overridable Property Object As AnnObject |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual AnnObject Object {get; set;} |
C++/CLI | |
---|---|
public: virtual property AnnObject^ Object { AnnObject^ get(); void set (AnnObject^ value); } |
Return Value
The initial annotation object of this AnnAutomationObject.For an example, refer to AnnAutomationManager.
The automation framework will use AnnObject.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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family