AnnSetHyperlinkMsg method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short AnnSetHyperlinkMsg(long hObject, short iType, long lParam1, long lParam2, long lParam3, long lParam4, long lParam5);

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 creates a hyperlink from an annotation to the OnAnnHyperlink event with either no parameters or five parameters, depending on iType.

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:

AnnSetHyperlinkString method

Topics:

Annotations (Document/Medical only): Annotation Hyperlinks