Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
37 lines (20 loc) · 1.23 KB

invisibleapp-styleadded-event-visio.md

File metadata and controls

37 lines (20 loc) · 1.23 KB
title ms.prod api_name ms.assetid ms.date
InvisibleApp.StyleAdded Event (Visio)
visio
Visio.InvisibleApp.StyleAdded
b45dadaa-6d7b-a320-76fb-d66e2b1d5e6a
06/08/2017

InvisibleApp.StyleAdded Event (Visio)

Occurs after a new style is added to a document.

Syntax

Private Sub expression _StyleAdded( ByVal Style As [IVSTYLE] )

expression A variable that represents an InvisibleApp object.

Parameters

Name Required/Optional Data Type Description
Style Required [IVSTYLE] The style that was added to the document.

Remarks

If you're 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 you want to create, seeEvent codes.