Поделиться через


Visio.DocumentLoadCompleteEventArgs interface

Содержит сведения об успешном или неудачно выполненом событии DocumentLoadComplete.

Комментарии

[ Набор API: 1.1 ]

Примеры

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));
    }
});

Свойства

success

Возвращает сведения об успешном или неудачном событии DocumentLoadComplete.

Сведения о свойстве

success

Возвращает сведения об успешном или неудачном событии DocumentLoadComplete.

success: boolean;

Значение свойства

boolean

Комментарии

[ Набор API: 1.1 ]