DefaultWebOptions.ResizeGraphics Property
Determines whether slides and any graphics on them are sized to fit the Web page display area of the target Web browser. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property ResizeGraphics As MsoTriState
Get
Set
'Usage
Dim instance As DefaultWebOptions
Dim value As MsoTriState
value = instance.ResizeGraphics
instance.ResizeGraphics = value
MsoTriState ResizeGraphics { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoTriState
MsoTriState
Remarks
The value of the ResizeGraphics property can be one of these MsoTriState constants.
Constant |
Description |
---|---|
msoFalse |
Slides and graphics remain the size they are in the source presentation, regardless of the Web browser display area. |
msoTrue |
The default. Slides and any graphics on them are sized to fit the Web page display area of the target Web browser. |
Examples
This example sets graphics in the specified Web presentation to be resized for the target Web browser. It then publishes the complete presentation, with speaker's notes, to a file named "Mallard.htm."
With Presentations(2)
.WebOptions.ResizeGraphics= msoTrue
With .PublishObjects(1)
.FileName = "C:\Mallard.htm"
.SourceType = ppPublishAll
.SpeakerNotes = True
.Publish
End With
End With