Visio.ShapeMouseEnterEventArgs interface

Предоставляет сведения о фигуре, которая вызвала событие ShapeMouseEnter.

Комментарии

Набор API: 1.1

Используется

Примеры

Visio.run(session, function (ctx) {
    const document1= ctx.document;
    eventResult2 = document1.onShapeMouseEnter.add(
    function (args) {            
        console.log(Date.now()+":OnShapeMouseEnter Event"+JSON.stringify(args));
    });
    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));
    }
});

Свойства

pageName

Получает имя страницы, содержащей объект shape, вызвавший событие ShapeMouseEnter.

shapeName

Получает имя объекта-фигуры, который вызвал событие ShapeMouseEnter.

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

pageName

Получает имя страницы, содержащей объект shape, вызвавший событие ShapeMouseEnter.

pageName: string;

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

string

Комментарии

Набор API: 1.1

shapeName

Получает имя объекта-фигуры, который вызвал событие ShapeMouseEnter.

shapeName: string;

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

string

Комментарии

Набор API: 1.1