ProtectedViewWindow.ToggleRibbon Method
Shows or hides the ribbon.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub ToggleRibbon
'Usage
Dim instance As ProtectedViewWindow
instance.ToggleRibbon()
void ToggleRibbon()
Remarks
If the ribbon is visible, this method hides it; if the ribbon is hidden, this method shows it.