See Also

DocumentJavaScript Members

Description

Represents a PDF document's JavaScript entry.

For a list of all members defined in this module, see DocumentJavaScript members.

Interfaces

Implemented InterfaceDescription
Object 

Example

[ASP - VBScript] 

<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"--> 
<% 
    'Create document 
    Dim MyDocument   
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )   
    'Add page to the document 
    Dim MyPage   
    Set MyPage = MyDocument.AddPage()  
    'Add javascript to the document 
    MyDocument.AddDocumentJavaScript "Say Hi", "app.alert(""Hello!!! This is document level JavaScript"")" 
    'Draw the PDF 
    MyDocument.DrawToWeb  
    Set MyPage = Nothing  
    Set MyDocument = Nothing  
%>

See Also

DocumentJavaScript Members

 

 


© Copyright 2007, ceTe Software