Debenu Quick PDF logo

SetOpenActionJavaScript

Document properties, JavaScript

Description

Use this function to run a block of JavaScript as the document is opened.

Syntax

Delphi

function TDebenuPDFLibrary1811.SetOpenActionJavaScript(
  JavaScript: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::SetOpenActionJavaScript(
  JavaScript As String) As Long

DLL

int DPLSetOpenActionJavaScript(int InstanceID, wchar_t * JavaScript)

Parameters

JavaScript The JavaScript to use for this action.

Return values

0 The JavaScript could not be added
1 The JavaScript was added successfully

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport