The HookContainer Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- hook
- true to hook the AnnDesigner.Container; false to unhook it.
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnDesigner Dim hook As Boolean instance.HookContainer(hook) |
Parameters
- hook
- true to hook the AnnDesigner.Container; false to unhook it.
For more information and an example, refer to the Implement User Defined Objects with LEADTOOLS Annotations
Derived classes should call this method to hook the AnnDesigner.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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7