Visio.RequestContext class

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

Extends
OfficeExtension.ClientRequestContext

Constructors

(constructor)(url)

Constructs a new instance of the RequestContext class

Properties

document

Constructor Details

(constructor)(url)

Constructs a new instance of the RequestContext class

constructor(url?: string | OfficeExtension.EmbeddedSession);

Parameters

url
string | OfficeExtension.EmbeddedSession

Property Details

document

readonly document: Document;

Property Value