THotPDF.RemoveLoadedJavaScript Method

Removes the document-level JavaScript with the given name from a loaded PDF: the entry leaves the /Names /JavaScript name tree, so the script is gone from the saved file, and the loaded JavaScript list no longer reports it

Declaration

procedure RemoveLoadedJavaScript(const AName: AnsiString);

Unit

HPDFDoc

Parameters

NamePurpose
ANamePDF resource name, packet name, profile name, or caller-defined identifier

Return value

This member does not return a value

Usage notes

Related APIs