PrintOptions.FitToPage property (PowerPoint)
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for