WebOptions.ResizeGraphics Property (PowerPoint)
Determines whether slides and any graphics on them are sized to fit the Web page display area of the target Web browser. Read/write.
Syntax
expression .ResizeGraphics
expression A variable that represents a WebOptions object.
Return Value
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. |
Example
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