Partager via


DefaultWebOptions.ResizeGraphics Property (PowerPoint)

Determines the global setting for 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 DefaultWebOptions object.

Return Value

MsoTriState

Remarks

You can override the global setting for an individual presentation by setting the WebOptions.ResizeGraphics property for that presentation.

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 the PowerPoint default for whether graphics in a Web presentation should be resized for the target Web browser.

Application.DefaultWebOptions.ResizeGraphics = msoTrue

See Also

Concepts

DefaultWebOptions Object Members

DefaultWebOptions Object