Represents a list of JavaScript entries.
For a list of all members of this type, see DocumentJavaScriptList members.
![]() ![]()
|
System.Object
ceTe.DynamicPDF.Resource
ceTe.DynamicPDF.DocumentJavaScriptList
[Visual Basic]
Public Class DocumentJavaScriptList
Inherits Resource[C#]
public class DocumentJavaScriptList : Resource[Visual Basic]
Imports System
Imports ceTe.DynamicPDF
Module MyModule
Sub Main()
'Create a MyDocument and set it's properties
Dim MyDocument As ceTe.DynamicPDF.Document = New ceTe.DynamicPDF.Document
'Create a MyPage to add to the MyDocument
Dim MyPage As ceTe.DynamicPDF.Page = New ceTe.DynamicPDF.Page(PageSize.Letter, PageOrientation.Portrait, 54.0F)
'Create a label to add to the MyPage
Dim Text As String = "JavaScript Example"
Dim MyLabel As Label = New Label(Text, 0, 0, 504, 100, Font.Helvetica, 18, TextAlign.Center)
'Add the JavaScript Alert to the Document
MyDocument.JavaScripts.Add(New DocumentJavaScript("HelloWorld", "app.alert(""Hello World!!"")"))
'Add label to MyPage
MyPage.Elements.Add(MyLabel)
'Add MyPage to MyDocument
MyDocument.Pages.Add(MyPage)
' Save the PDF Document
MyDocument.Draw(C:\MyDocument.pdf")
End Sub
End Module
[C#]
using System; |
This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:
Namespace: ceTe.DynamicPDF
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: ceTe.DynamicPDF (in ceTe.DynamicPDF.dll)
DocumentJavaScriptList Members | ceTe.DynamicPDF Namespace
© Copyright 2007, ceTe Software