LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

HookContainer Method






true to hook the Container; false to unhook it.
Hooks or unhooks the Container.
Syntax
protected virtual void HookContainer( 
   bool hook
)
'Declaration
 
Protected Overridable Sub HookContainer( _
   ByVal hook As Boolean _
) 
'Usage
 
Dim instance As AnnDesigner
Dim hook As Boolean
 
instance.HookContainer(hook)
protected virtual void HookContainer( 
   bool hook
)
 function Leadtools.Annotations.AnnDesigner.HookContainer( 
   hook 
)
protected:
virtual void HookContainer( 
   bool hook
) 

Parameters

hook
true to hook the Container; false to unhook it.
Remarks
Derived classes should call this method to hook the Container object if needed. Hooking the container provides support for derived classes to do extra drawing whenever the container is painted. AnnEditDesigner derived classes use this method to draw the control points of the object currently being edited.
Example
For more information and an example, refer to Implement User Defined Objects with LEADTOOLS Annotations
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnDesigner Class
AnnDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.