Class
PdfJavaScriptEditSession
OfficeIMO.Pdf
Transactional collection editor for named document-level JavaScript actions.
Inheritance
- object
- PdfJavaScriptEditSession
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
Accepted by parameters 1
- Method PdfDocumentJavaScript.Edit
Methods
public PdfJavaScriptEditSession AddOrReplace(string name, string script) #Adds a named script or replaces the source of an existing script with the same name.
Parameters
- name string
- script string
Returns
PdfJavaScriptEditSessionpublic PdfJavaScriptEditSession Clear() #Removes every named document-level script.
Returns
PdfJavaScriptEditSessionpublic PdfJavaScriptEditSession Remove(string name) #Removes a named script when it exists.
Parameters
- name string
Returns
PdfJavaScriptEditSession