AnnSetHyperlinkString method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short AnnSetHyperlinkString(long hObject, short iType, BSTR pszHyperlink);

Overview

Refer to Implementing Annotation Hyperlinks.

Remarks

(Document/Medical only) Annotations may be hyperlinked to run a program, access a Web page, or send a user defined message to the OnAnnHyperlink event. This method sets the string containing the name of the program, with all required command line parameters, or the URL of the Web page.

If the value of the AnnContainer property is passed as the hObject parameter, the method will modify all the annotations in the container.

If the value of the AnnAutomation property is passed as the hObject parameter, the method will modify the default values used whenever an annotation is created.

See Also

Elements:

AnnSetHyperlinkMsg method, AnnGetHyperlinkString method, AnnGetHyperlinkType method

Topics:

Annotations (Document/Medical only): Annotation Hyperlinks