Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the slides will be scaled to fill the page they're printed on. Read/write.
Syntax
expression. FitToPage
expression A variable that represents a PrintOptions object.
Return value
MsoTriState
Remarks
The value of the FitToPage property can be one of these MsoTriState constants.
| Constant | Description |
|---|---|
| msoFalse | The default. The slides will have the dimensions specified in the Page Setup dialog box, whether or not those dimensions match the page they're printed on. |
| msoTrue | The specified slides will be scaled to fill the page they're printed on, regardless of the values in the Height and Width boxes in the Page Setup dialog box. (On the Design tab, click Page Setup.) |
Example
This example prints the active presentation and scales each slide to fit the printed page.
With ActivePresentation
.PrintOptions.FitToPage = msoTrue
.PrintOut
End With
See also
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.