Visio.PageLoadCompleteEventArgs interface

Provides information about the page that raised the PageLoadComplete event.

[ API set: 1.1 ]

Remarks

Examples

Visio.run(session, function (ctx) {
    var 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.

[ API set: 1.1 ]

success

Gets the success or failure of the PageLoadComplete event.

[ API set: 1.1 ]

Property Details

pageName

Gets the name of the page that raised the PageLoad event.

[ API set: 1.1 ]

pageName: string;

Property Value

string

success

Gets the success or failure of the PageLoadComplete event.

[ API set: 1.1 ]

success: boolean;

Property Value

boolean