Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Visio.PageLoadCompleteEventArgs interface
- Package:
- visio
Provides information about the page that raised the PageLoadComplete event.
Remarks
Used by
Examples
Visio.run(session, function (ctx) {
const document1= ctx.document;
eventResult1 = document1.onPageLoadComplete.add(
function (args){
console.log("Page name: "+args.pageName);
});
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
| pageName | Gets the name of the page that raised the PageLoad event. |
| success | Gets the success or failure of the PageLoadComplete event. |
Property Details
pageName
Gets the name of the page that raised the PageLoad event.
pageName: string;
Property Value
string
Remarks
success
Gets the success or failure of the PageLoadComplete event.
success: boolean;
Property Value
boolean
Remarks
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins
Feedback
Was this page helpful?
