GetPageJavaScript

Colour, JavaScript, Page properties

Description

Retrieves the JavaScript linked to the specified page event.

Syntax

Delphi

Function TPDFlib.GetPageJavaScript(Const ActionType: WideString): WideString;

ActiveX

Function PDFlib::GetPageJavaScript(ActionType As String) As String

DLL

const wchar_t* DLGetPageJavaScript(int InstanceID, const wchar_t* ActionType);
const char* DLGetPageJavaScriptA(int InstanceID, const char* ActionType);

Parameters

ActionTypeRetrieves the JavaScript linked to this action: "O" = (capital letter O) This event occurs when the page is opened "C" = This event occurs when the page is closed

Return values

Returns the JavaScript linked to the page event identified by ActionType.