Leadtools.Annotations Namespace > AnnContainer Class : EnableDrawObjectEvents Method |
public virtual void EnableDrawObjectEvents()
'Declaration Public Overridable Sub EnableDrawObjectEvents()
'Usage Dim instance As AnnContainer instance.EnableDrawObjectEvents()
public virtual void EnableDrawObjectEvents()
function Leadtools.Annotations.AnnContainer.EnableDrawObjectEvents()
public: virtual void EnableDrawObjectEvents();
When you want to disable the raising of the Leadtools.Annotations.AnnContainer.BeforeDrawingObjects and Leadtools.Annotations.AnnContainer.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.
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