CreateHyperLinkAction
IPDFDocument4 :: Actions

See Also
Collapse All

This method creates an action associated with a URL.

Syntax

LONG CreateHyperLinkAction (
BSTR url
)
Parameters
url
URL associated with the action

Return value
Number of the action

Remarks

This method creates an action that allows users to associate a uniform resource locator (URL) with a control. A URL is a string that identifies and resolves to a resource on the Internet — usually a file that is the destination of a hypertext link, although the URL can also resolve to a query or other entity.

The return value is an action identifier in the document's actions collection and can be used in OnOpenDocumentOnControlMouseDown and other properties (see Annotations).

See Also

Reference