Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfJavaScriptEditSession

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
ac7e6e1bad8a with working tree changes
Modifiers
sealed

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.

Accepted by parameters 1

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 required
script string required
public PdfJavaScriptEditSession Clear() #

Removes every named document-level script.

public PdfJavaScriptEditSession Remove(string name) #

Removes a named script when it exists.

Parameters

name string required