←Select platform

DisableDrawObjectEvents Method

Summary

Stops this AnnContainer from raising the BeforeDrawingObjects and AfterDrawingObjects events.

Syntax

C#
VB
C++
public virtual void DisableDrawObjectEvents() 
  
Public Overridable Sub DisableDrawObjectEvents()  
public: 
virtual void DisableDrawObjectEvents();  

Remarks

When you want to re-enable the raising of the BeforeDrawingObjects and 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly