VisWebPageSettings.DispScreenRes property

Specifies the screen resolution for your webpage. Read/write.

Syntax

expression.DispScreenRes

expression An expression that returns a VisWebPageSettings object.

Return value

VISWEB_DISP_RES

Remarks

The default screen resolution is 1024 x 768 pixels.

The DispScreenRes property affects only how raster-based formats (for example, GIF) fit on the page. For vector-based images (for example, VML), this property is ignored.

The DispScreenRes property value corresponds to the value in the Target monitor box on the Advanced tab of the Save As Web Page dialog box (BackstageButton tab > Save As > Save as type list > Web Page (*.htm;*.html) > Publish > Advanced).

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.