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

DisableDrawObjectEvents Method






Stops this AnnContainer from raising the Leadtools.Annotations.AnnContainer.BeforeDrawingObjects and Leadtools.Annotations.AnnContainer.AfterDrawingObjects events.
Syntax
public virtual void DisableDrawObjectEvents()
'Declaration
 
Public Overridable Sub DisableDrawObjectEvents() 
'Usage
 
Dim instance As AnnContainer
 
instance.DisableDrawObjectEvents()
public virtual void DisableDrawObjectEvents()
 function Leadtools.Annotations.AnnContainer.DisableDrawObjectEvents()
public:
virtual void DisableDrawObjectEvents(); 
Remarks

When you want to re-enable the raising of the Leadtools.Annotations.AnnContainer.BeforeDrawingObjects and Leadtools.Annotations.AnnContainer.AfterDrawingObjects events, you must call the EnableDrawObjectEvents 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: 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

AnnContainer Class
AnnContainer Members

 

 


Products | Support | Contact Us | Copyright Notices

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