←Select platform

CurrentObjectId Property

Summary

Gets or sets the current automation object ID.

Syntax

C#
VB
Java
Objective-C
WinRT 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) 
get_CurrentObjectId(); 
set_CurrentObjectId(value); 
Object.defineProperty('CurrentObjectId'); 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Automation Assembly
Click or drag to resize