Adds a (Named)JavaScript to the javascript collection.

Namespace: TallComponents.PDF.Layout.JavaScript
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0

Syntax

C#
public void Add(
	JavaScript script
)
Visual Basic
Public Sub Add ( _
	script As JavaScript _
)

Parameters

script
Type: TallComponents.PDF.Layout.JavaScript..::..JavaScript
The script to add.

Remarks

If an unnamed javascript is added to the collection, a name will be created with the following format:

- Fixed component: TC-JS-AN-

- Sequential hex-number: xxxx

(Note: performance can be affected when a lot of unnamed scripts are added.)

See Also