Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Visio.DocumentLoadCompleteEventArgs interface

Package:
visio

Provides information about the success or failure of the DocumentLoadComplete event.

Remarks

API set: 1.1

Used by

Examples

Visio.run(session, function (ctx) {
 const document1 = ctx.document;
 eventResult1 = document1.onDocumentLoadComplete.add(
 function (args){
 console.log("Document Loaded");
 });

 return ctx.sync().then(function () {
 console.log("Success");
 });
}).catch(function(error) {
 console.log("Error: " + error);
 if (error instanceof OfficeExtension.Error) {
 console.log("Debug info: " + JSON.stringify(error.debugInfo));
 }
});

Properties

success

Gets the success or failure of the DocumentLoadComplete event.

Property Details

success

Gets the success or failure of the DocumentLoadComplete event.

success: boolean;

Property Value

boolean

Remarks

API set: 1.1


Feedback

Was this page helpful?