Share via


DefaultWebOptions.ScreenSize Property

Returns or sets the ideal minimum screen size (width by height, in pixels) that you should use when viewing the saved document in a Web browser.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.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

MsoScreenSize can be one of these MsoScreenSize constants:

msoScreenSize1152x882

msoScreenSize1280x1024

msoScreenSize1800x1440

msoScreenSize544x376

msoScreenSize720x512

msoScreenSize1024x768

msoScreenSize1152x900

msoScreenSize1600x1200

msoScreenSize1920x1200

msoScreenSize640x480

msoScreenSize800x600 Default

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.Excel Namespace