ResizeGraphics Property 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 = True
    With .PublishObjects(1)
        .FileName = "C:\Mallard.htm"
        .SourceType = ppPublishAll
        .SpeakerNotes = True
        .Publish
    End With
End With