←Select platform

CurrentObjectId Property

Summary

Gets or sets the current automation object ID.

Syntax
C#
VB
Objective-C
C++
Java
public int CurrentObjectId { get; set; } 
Public Property CurrentObjectId As Integer 
@property (nonatomic) int currentObjectId; 
public int getCurrentObjectId() 
public void setCurrentObjectId(int id) 
public:  
   property Int32 CurrentObjectId 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

Property Value

The current automation object ID. The default value is AnnObject.None

Remarks

The current automation object ID is the AnnAutomationObject.Id of the AnnAutomationObject currently selected. This object is the "active" object to be drawn on the current active AnnAutomation.

The CurrentObjectIdChanged event is fired when this property is changed.

Example

For an example, refer to Draw.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly