#include "ltwrappr.h"
virtual L_BOOL LAnnAutomation::IsAutoDrawEnabled()
Gets a value that indicates whether the left mouse button is enabled for automated drawing in design mode.
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
LTANN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
Functions: |
LAnnAutomation::SetAutoMenuEnabled, LAnnAutomation::SetAutoDrawEnabled, LAnnAutomation::SetAutoText, Class Members, LAnnotation::SetAutoSnapCursor, LAnnotation::GetAutoSnapCursor |
Topics: |
|
|
|
|
|
|
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;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET