Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.45 KB

Visio.Application.ViewChanged.md

File metadata and controls

43 lines (25 loc) · 1.45 KB
title api_name ms.assetid ms.date ms.localizationpriority
Application.ViewChanged event (Visio)
Visio.Application.ViewChanged
2cb8dbfb-100c-1fe3-05c5-bb9a2d97075a
06/08/2017
medium

Application.ViewChanged event (Visio)

Occurs when the zoom level or scroll position of a drawing window changes.

Syntax

expression.ViewChanged (Window)

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Window Required [IVWINDOW] The window whose zoom level or scroll position changed.

Remarks

This event fires whenever the zoom level or scroll position of a Window object of the type visDrawing changes.

If you are using Microsoft Visual Basic or Visual Basic for Applications (VBA), the syntax in this topic describes a common, efficient way to handle events.

If you want to create your own Event objects, use the Add or AddAdvise method.

To create an Event object that runs an add-on, use the Add method as it applies to the EventList collection.

To create an Event object that receives notification, use the AddAdvise method.

To find an event code for the event that you want to create, see Event codes.

[!includeSupport and feedback]