Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LAnnAutomation::IsHyperlinkMenuEnabled

Show in webframe

#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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.