Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
HookContainer Method
See Also 
Leadtools.Annotations Namespace > AnnDesigner Class : HookContainer Method




hook
true to hook the Container; false to unhook it.
Hooks or unhooks the Container.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub HookContainer( _
   ByVal hook As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnDesigner
Dim hook As Boolean
 
instance.HookContainer(hook)
C# 
protected virtual void HookContainer( 
   bool hook
)
Managed Extensions for C++ 
protected: virtual void HookContainer( 
   bool hook
) 
C++/CLI 
protected:
virtual void HookContainer( 
   bool hook
) 

Parameters

hook
true to hook the Container; false to unhook it.

Example

For more information and an example, refer to the Implement User Defined Objects with LEADTOOLS Annotations

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features