Debenu Quick PDF logo

SetJavaScriptMode

Document properties, JavaScript

Description

This function allows you to control the way JavaScript is stored in the document.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetJavaScriptMode(JSMode: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetJavaScriptMode(JSMode As Long) As Long

DLL

int DPLSetJavaScriptMode(int InstanceID, int JSMode)

Parameters

JSMode 1 = Store JavaScript in a stream
2 = Store JavaScript in a compressed stream
Anything else = Store JavaScript as a string (default)

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport