AnnGetHyperlinkString method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnGetHyperlinkString (LEADTyp::L_HANDLE hObject, LEADTyp::L_PPCHAR ppText);

Delphi Syntax

Function AnnGetHyperlinkString (hObject: L_HANDLE; ppText: L_PPCHAR): Integer;

Overview

Refer to Implementing Annotation Hyperlinks.

Remarks

(Document/Medical only) Gets the string containing the program name or the web page address, for an annotation object with a hyperlink of type ANNLINK_RUN or ANNLINK_WEBPAGE.

Call this method once, with ppText set to nil. The return value of the method will be the size (number of characters) in the hyperlink string. Next, allocate the appropriate amount of memory for the ppText(size + 1), and call this method again to retrieve the hyperlink string containing the program name or the web page address, for an annotation object with a hyperlink of type ANNLINK_RUN or ANNLINK_WEBPAGE.

See Also

Elements:

AnnSetHyperlinkString method, AnnGetHyperlinkType method

Topics:

Annotations (Document/Medical only): Annotation Hyperlinks