ResizeGraphics Property

Microsoft PowerPoint Visual Basic

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 MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse Slides and graphics remain the size they are in the source presentation, regardless of the Web browser display area. 
msoTriStateMixed
msoTriStateToggle
msoTrue 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