←Select platform

AutomationAttach Method

Summary

Called when AnnAutomation.Attach is called.

Syntax

C#
VB
Java
Objective-C
WinRT C#
Sub AutomationAttach( _ 
   ByVal container As Leadtools.Annotations.Core.AnnContainer _ 
) 
-(void) automationAttach:(LTAnnContainer*) container;
void automationAttach(AnnContainer container);
function Leadtools.Annotations.Core.IAnnAutomationControl.AutomationAttach(  
   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

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