FitToPage Method

See Also         Example         Applies To

Adjusts the size of the specified document window to accommodate the information that's currently displayed.

Syntax

expression.FitToPage

expression   Required. An expression that returns a DocumentWindow object.