Word.RequestContext class

The RequestContext object facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the request context is required to get access to the Word object model from the add-in.

Extends

Constructors

(constructor)(url)

Constructs a new instance of the RequestContext class

Properties

application

[ API set: WordApi 1.3 ] *

document

Constructor Details

(constructor)(url)

Constructs a new instance of the RequestContext class

constructor(url?: string);

Parameters

url

string

Property Details

application

[ API set: WordApi 1.3 ] *

readonly application: Application;

Property Value

document

readonly document: Document;

Property Value