Upravit

Sdílet prostřednictvím


View.FullScreen property (Word)

True if the window is in full-screen view. Read/write Boolean.

Syntax

expression. FullScreen

expression A variable that represents a 'View' object.

Example

This example switches the active window to full-screen view.

ActiveDocument.ActiveWindow.View.FullScreen = True

This example activates the window for Sales.doc and switches out of full-screen view.

With Windows("Sales.doc") 
 .Activate 
 .View.FullScreen = False 
End With

See also

View Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.