←Select platform

AutomationContainerIndex Property

Summary
Gets or sets the active container index.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public int AutomationContainerIndex { get; set; } 
@property (nonatomic) int automationContainerIndex; 
int getAutomationContainerIndex(); 
void setAutomationContainerIndex(int index); 
public:  
   property Int32 AutomationContainerIndex 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 
AutomationContainerIndex # get and set (IAnnAutomationControl) 

Property Value

The 0-based index of the active container.

Remarks

AutomationContainerIndex is called by the automation object to set the index of the active container when multi-container mode is used. After that, all the properties and methods that are called to inquire information about the container must use this value to get the actual AnnContainer object. Usually, from the collection of the containers obtained from AutomationGetContainersCallback.

The default implementation saves the value of AutomationContainerIndex into a local variable and use it as needed.

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.