GetPageJavaScript

Color, 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

wchar_t * DLGetPageJavaScript(int InstanceID, wchar_t * 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