Compartilhar via


PrintOptions.FitToPage Property

Determines whether the slides will be scaled to fill the page that they are printed on. Read/write.

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

Syntax

'Declaration
Property FitToPage As MsoTriState
    Get
    Set
'Usage
Dim instance As PrintOptions
Dim value As MsoTriState

value = instance.FitToPage

instance.FitToPage = value
MsoTriState FitToPage { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

The value of the FitToPage property can be one of the following 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 that they are 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.)

See Also

Reference

PrintOptions Interface

PrintOptions Members

Microsoft.Office.Interop.PowerPoint Namespace