virtual L_BOOL LAnnAutomation::IsAutoMenuEnabled()
Gets a value that indicates whether the automated menus for annotation are enabled.
Value | Meaning |
---|---|
TRUE | Menus are enabled. |
FALSE | Menus are disabled. |
Win32, x64.
This example gets and updates the property of the automation
object passed by the caller
L_INT LAnnAutomation_IsAutoMenuEnabledExample(LAnnAutomation * pAnnObject)
{
L_INT nRet = SUCCESS;
L_BOOL bEnable; /* Are menus enabled? */
/* Disable the menus, unless they are already disabled */
bEnable= pAnnObject->IsAutoMenuEnabled();
if (bEnable == FALSE)
MessageBox (NULL, TEXT("Menus are already disabled"), TEXT("Notice"), MB_OK);
else
nRet = pAnnObject->SetAutoMenuEnabled(FALSE);
return nRet;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document