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



Enables this AnnContainer from raising the BeforeDrawingObjects and AfterDrawingObjects events.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub EnableDrawObjectEvents() 
Visual Basic (Usage)Copy Code
Dim instance As AnnContainer
 
instance.EnableDrawObjectEvents()
C# 
public virtual void EnableDrawObjectEvents()
C++/CLI 
public:
virtual void EnableDrawObjectEvents(); 

Remarks

When you want to disable the raising of the BeforeDrawingObjects and AfterDrawingObjects events, you must call the DisableDrawObjectEvents method.

Disabling these events is useful when you do not want the automation framework to draw the handles on the objects currently being edited (selected), as for example when realizing or printing the container.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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