←Select platform

AutomationAttach Method

Summary

Called when AnnAutomation.Attach is called.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public void AutomationAttach( 
   AnnContainer container 
) 
Sub AutomationAttach( _ 
   ByVal container As Leadtools.Annotations.Core.AnnContainer _ 
)  
-(void) automationAttach:(LTAnnContainer*) container; 
void automationAttach(AnnContainer container); 
function Leadtools.Annotations.Core.IAnnAutomationControl.AutomationAttach(  
   container  
) 
public:  
   void AutomationAttach( 
      AnnContainer^ container 
   ) 

Parameters

container
The container to attach.

Remarks

AutomationAttach and AutomationDetach are call by the automation object when AnnAutomation.Attach and AnnAutomation.Detach.

These methods are used with single-container mode. The default implementation will save the container value passed by AutomationAttach in a local variable and use it during ImageViewer.PostRender to render the container on the surface of the control. When AutomationDetach is called, this variable is set back to null.

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.Core Assembly