LAnnotation::GetHyperlinkLen

#include "ltwrappr.h"

virtual L_UINT LAnnotation::GetHyperlinkLen(L_VOID)

Gets the length of the annotation object's hyperlink string. This function is available in the Document/Medical Toolkits.

Returns

The length of the hyperlink string.

Comments

Only objects with a hyperlink of type ANNLINK_RUN or ANNLINK_WEBPAGE have a hyperlink string associated with them. To see what the hyperlink string of an object is, you must first call this function and get the string length, allocate a buffer large enough to store the string and the NULL at the end, and then call LAnnotation::GetHyperlink. Note that the length does NOT account for the null at the end of the string.

Required DLLs and Libraries

LTANN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

Class Members

Topics:

Annotation Functions (Document/Medical only): Hyperlinks

Example

For an example, refer to LAnnotation::GetHyperlink.