Implementing Annotation Hyperlinks
Note: This topic is for Document/Medical only.
LEADTOOLS provides several properties, methods and events that allow you to hyperlink annotations. Annotations may be hyperlinked to run a program, access a Web page, or send a user-defined message. Hyperlinks that run a program or access a Web page are generated using AnnSetHyperlinkString method. AnnSetHyperlinkMsg method lets you create a hyperlink to send a user defined message to the AnnHyperlink event. To determine the type of hyperlink associated with an annotation use AnnGetHyperlinkType method. If the hyperlink runs a program or accesses a Web page, you can retrieve the name of the program, with all required command line parameters, or you can retrieve the URL of the Web page using AnnGetHyperlinkString method. Hyperlinks to the AnnHyperlink event may have parameters. The AnnGetHyperlinkParam method lets you retrieve the parameters. AnnHyperlinkMenuEnable property enables or disables the hyperlink menu item for automated annotations. AnnHyperlinkMenu event occurs when the user selects the hyperlink menu item for automated annotations.