Partager via


Shape.OpenSheetWindow, méthode (Visio)

Ouvre une fenêtre ShapeSheet pour un objet Shape.

Syntaxe

expression. OpenSheetWindow

expression Une variable qui représente uneForme d’objet.

Valeur renvoyée

Fenêtre

Remarques

La méthode OpenSheetWindow ouvre une fenêtre de feuille ShapeSheet pour la forme, même si les informations sont déjà affichées dans une autre fenêtre.

Exemple

La macro Microsoft Visual Basic pour Applications (VBA) indique comment utiliser la méthode OpenSheetWindow pour ouvrir la fenêtre ShapeSheet d'un objet Shape.

 
Public Sub OpenSheetWindow_Example() 
 
 Dim vsoShape As Visio.Shape 
 Dim vsoSheetWindow As Visio.Window 
 
 'Draw a shape. 
 Set vsoShape = ActivePage.DrawRectangle(1, 1, 2, 3) 
 
 'Open the ShapeSheet window of vsoShape. 
 Set vsoSheetWindow = vsoShape.OpenSheetWindow 
 
End Sub

Assistance et commentaires

Avez-vous des questions ou des commentaires sur Office VBA ou sur cette documentation ? Consultez la rubrique concernant l’assistance pour Office VBA et l’envoi de commentaires afin d’obtenir des instructions pour recevoir une assistance et envoyer vos commentaires.