Visio.ShapeMouseLeaveEventArgs interface
Provides information about the shape that raised the ShapeMouseLeave event.
Remarks
[ API set: 1.1 ]
Examples
Visio.run(session, function (ctx) {
const document1= ctx.document;
eventResult2 = document1.onShapeMouseLeave.add(
function (args){
console.log(Date.now()+":OnShapeMouseLeave 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
page |
Gets the name of the page which has the shape object that raised the ShapeMouseLeave event. |
shape |
Gets the name of the shape object that raised the ShapeMouseLeave event. |
Property Details
pageName
Gets the name of the page which has the shape object that raised the ShapeMouseLeave event.
pageName: string;
Property Value
string
Remarks
[ API set: 1.1 ]
shapeName
Gets the name of the shape object that raised the ShapeMouseLeave event.
shapeName: string;
Property Value
string
Remarks
[ API set: 1.1 ]
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