_Document.FitToPages Method

Decreases the font size of text just enough so that the document will fit on one fewer pages.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub FitToPages
'Usage
Dim instance As _Document

instance.FitToPages()
void FitToPages()

Remarks

An error occurs if Word is unable to reduce the page count by one.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace