LAnnAutomation::IsHyperlinkMenuEnabled

#include "ltwrappr.h"

virtual L_BOOL LAnnAutomation::IsHyperlinkMenuEnabled()

Gets a value that indicates whether the hyperlink menu item will be shown when you click the right mouse button in design mode.

Returns

TRUE

The hyperlink menu item will be shown in design mode when you right click on one or more objects.

FALSE

The hyperlink menu item will not be shown.

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.

Platforms

Win32, x64.

See Also

Functions:

LAnnotation::SetHyperlink, LAnnotation::GetHyperlinkLen, LAnnotation::GetHyperlink, LAnnAutomation::SetAutoText, Class Members

Topics:

Annotation Functions: Hyperlinks

Example

This example determines whether the automation hyperlink menu item is enabled. If the menu item is enabled, then the example disables it. It the menu item is disabled, the example enables it.

L_INT LAnnAutomation_IsHyperlinkMenuEnabledExample(LAnnAutomation  * pAnnAutomation) 
{  
   L_INT nRet; 
   L_BOOL bEnabled; 
 
 
   /* toggle display of HyperLink menu item */ 
 
   bEnabled = !pAnnAutomation->IsHyperlinkMenuEnabled(); 
 
   nRet = pAnnAutomation->SetHyperlinkMenuEnabled(bEnabled, 0);  
   if(nRet != SUCCESS) 
      return nRet; 
 
   return SUCCESS; 
} 

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

LEADTOOLS Raster Imaging C++ Class Library Help