Partager via


DefaultWebOptions.ScreenSize Property (PowerPoint)

Returns or sets the global default for the ideal minimum screen size (width by height, in pixels) that you should use when viewing a saved presentation in a Web browser. Read/write.

Syntax

expression .ScreenSize

expression A variable that represents a DefaultWebOptions object.

Return Value

MsoScreenSize

Remarks

You can override the global default value for an individual presentation by setting the WebOptions.ScreenSize property.

The value of the ScreenSize property can be one of these MsoScreenSize constants. The default is msoScreenSize800x600.

msoScreenSize1024x768

msoScreenSize1152x882

msoScreenSize1152x900

msoScreenSize1280x1024

msoScreenSize1600x1200

msoScreenSize1800x1440

msoScreenSize1920x1200

msoScreenSize544x376

msoScreenSize640x480

msoScreenSize720x512

msoScreenSize800x600

Example

This example sets the global default target screen size to 640 x 480 pixels.

Application.DefaultWebOptions.ScreenSize = msoScreenSize640x480

See Also

Concepts

DefaultWebOptions Object Members

DefaultWebOptions Object