API Reference
Class
PdfJavaScriptEditSession
Transactional collection editor for named document-level JavaScript actions.
Inheritance
- Object
- PdfJavaScriptEditSession
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method PdfDocumentJavaScript.Edit
Methods
public PdfJavaScriptEditSession AddOrReplace(String name, String script) #Returns:
PdfJavaScriptEditSessionAdds a named script or replaces the source of an existing script with the same name.
Parameters
- name System.String
- script System.String
public PdfJavaScriptEditSession Clear() #Returns:
PdfJavaScriptEditSessionRemoves every named document-level script.
public PdfJavaScriptEditSession Remove(String name) #Returns:
PdfJavaScriptEditSessionRemoves a named script when it exists.
Parameters
- name System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object