Visio.ShapeMouseEnterEventArgs interface

Provides information about the shape that raised the ShapeMouseEnter event.

[ API set: 1.1 ]

Remarks

Examples

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

Properties

pageName

Gets the name of the page which has the shape object that raised the ShapeMouseEnter event.

[ API set: 1.1 ]

shapeName

Gets the name of the shape object that raised the ShapeMouseEnter event.

[ API set: 1.1 ]

Property Details

pageName

Gets the name of the page which has the shape object that raised the ShapeMouseEnter event.

[ API set: 1.1 ]

pageName: string;
Property Value
string

shapeName

Gets the name of the shape object that raised the ShapeMouseEnter event.

[ API set: 1.1 ]

shapeName: string;
Property Value
string