Partager via


DefaultWebOptions.ScreenSize Property

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.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property ScreenSize As MsoScreenSize
    Get
    Set
'Usage
Dim instance As DefaultWebOptions
Dim value As MsoScreenSize

value = instance.ScreenSize

instance.ScreenSize = value
MsoScreenSize ScreenSize { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoScreenSize

Remarks

You can override the global setting for an individual presentation by setting the ScreenSize property of the WebOptions object.

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

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.PowerPoint Namespace