typedef struct tagANNHYPERLINK
{
L_UINT uStructSize;
L_UINT uLinkMsg;
L_SIZE_T uLinkParam;
L_TCHAR *pLinkText;
L_UINT uLinkType;
} ANNHYPERLINK, *pANNHYPERLINK;
The ANNHYPERLINK structure contains information about the changes to be made in automated mode to the specified object.
Size of the ANNHYPERLINK structure. Use sizeof(ANNHYPERLINK).
Value indicating a user-defined message that will be sent to the window associated with the annotation object if uType is ANNLINK_USERMSG.
wParam value that is passed to the user-defined message if uType is ANNLINK_USERMSG.
Character string containing the program to run when the object is clicked, if uType is ANNLINK_RUN. If uType is ANNLINK_WEBPAGE, it is the URL to be accessed by the default browser. This string should be NULL terminated. This parameter is ignored if uType contains any other value.
Constant that specifies the object's hyperlink type. Possible values are:
Value | Meaning |
---|---|
ANNLINK_NONE | [0x0000] Object has no hyperlink. |
ANNLINK_LTANNEVENT | [0x0001] WM_LTANNEVENT message will be sent with LTANNEVENT_HYPERLINK |
ANNLINK_USERMSG | [0x0002] The user-defined message will be sent with wParam as the wParam message of this function and lParam containing the handle of the object. |
ANNLINK_RUN | [0x0003] The program specified in pLink will be run. Both the program and the command line parameters have to be specified in pLink. |
ANNLINK_WEBPAGE | [0x0004] The web page with the URL specified in pLink will be opened in the current browser. Note that not all web browsers accept a page on the command line. Some will simply go to their default home page. |
This structure is part of the union of the ANNCHANGEPARAM structure. For more information, see the documentation for ANNCHANGEPARAM.
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