View.ZoomToFit Property
Determines whether the view is zoomed to fit the dimensions of the document window every time the document window is resized. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property ZoomToFit As MsoTriState
Get
Set
'Usage
Dim instance As View
Dim value As MsoTriState
value = instance.ZoomToFit
instance.ZoomToFit = value
MsoTriState ZoomToFit { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoTriState
Remarks
This property applies only to slide view, notes page view, or master view.
When the value of the Zoom property is explicitly set, the value of the ZoomToFit property is automatically set to msoFalse.
The value of the ZoomToFit property can be one of these MsoTriState constants.
Constant |
Description |
---|---|
The view is not zoomed to fit the dimensions of the document window every time the document window is resized. |
|
The view is zoomed to fit the dimensions of the document window every time the document window is resized. |