Document.ActiveWindow, propriété

Obtient un Window qui représente la fenêtre active.

Espace de noms :  Microsoft.Office.Tools.Word
Assembly :  Microsoft.Office.Tools.Word (dans Microsoft.Office.Tools.Word.dll)

Syntaxe

'Déclaration
ReadOnly Property ActiveWindow As Window
    Get
Window ActiveWindow { get; }

Valeur de propriété

Type : Microsoft.Office.Interop.Word.Window
Window qui représente la fenêtre active.

Notes

La fenêtre active est celle qui a actuellement le focus.

Si aucune fenêtre n'est ouverte, une exception est levée.

Sécurité .NET Framework

Voir aussi

Référence

Document Interface

Microsoft.Office.Tools.Word, espace de noms