CreateURLAction
IPDFDocument3 :: Actions

See Also
Collapse All

Creates an action associated with a URL.

Syntax

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

Return value
Index of the created action.

Remarks

CreateSubmitFormAction 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 AddControlToAction, OpenDocumentAction, PDFANNOTATION_OnBeforeFormatting, PDFANNOTATION_OnChange, PDFANNOTATION_OnKeyPress, PDFANNOTATION_OnSetFocus, PDFANNOTATION_OnLostFocus, PDFANNOTATION_OnMouseDown, PDFANNOTATION_OnMouseUp, PDFANNOTATION_OnMouseEnter, PDFANNOTATION_OnMouseExit, PDFANNOTATION_OnOtherControlChanged, PDFPAGE_SetAction, PDFANNOTATION_Action, PDFOUTLINENODE_Action.

Equivalent in new interface: IPDFDocument4::CreateHyperLinkAction.

See Also

Reference