LAnnAutomation::IsAutoDrawEnabled

Summary

Gets a value that indicates whether the left mouse button is enabled for automated drawing in design mode.

Syntax

#include "ltwrappr.h"

virtual L_BOOL LAnnAutomation::IsAutoDrawEnabled()

Returns

Value Meaning
TRUE The left mouse button is enabled for automated drawing in design mode.
FALSE The left mouse button is disabled for automated drawing in design mode.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

This example gets and updates the property of the automation object passed by the caller

L_INT LAnnAutomation_IsAutoDrawEnabledExample(LAnnAutomation  * pAnnObject) 
{ 
	L_INT nRet = SUCCESS; 
   L_BOOL bEnable; /* Is drawing enabled? */ 
 
   /* Disable automated drawing, unless it is already disabled */ 
 
   bEnable = pAnnObject->IsAutoDrawEnabled(); 
 
   if (bEnable == FALSE) 
      MessageBox (NULL, TEXT("Drawing is already disabled"),TEXT("Notice"), MB_OK); 
   else 
      nRet = pAnnObject->SetAutoDrawEnabled(FALSE); 
 
	return nRet; 
} 

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.