←Select platform

CurrentObjectId Property

Summary

Gets or sets the current automation object ID.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int CurrentObjectId { get; set; } 
Public Property CurrentObjectId As Integer 
public int CurrentObjectId {get; set;} 
@property (nonatomic) int currentObjectId; 
public int getCurrentObjectId() 
public void setCurrentObjectId(int id) 
             
 <br/>get_CurrentObjectId();<br/>set_CurrentObjectId(value);<br/>Object.defineProperty('CurrentObjectId');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly