Share via


zoomLevel Property

Gets or sets a string that represents the current zoom level. This property is only supported in Internet Explorer.

Note

To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes.

var zoom = $find(viewerId).get_zoomLevel();
$find(viewerId).set_zoomLevel(level);

Parameters

  • Level
    A string that represents the zoom level, which can be a positive integer, 'PageWidth', or 'FullPage'.

Return Value

A string that represents the zoom level, which can be a positive integer, 'PageWidth', or 'FullPage'.

Remarks

When the Web page is performing a postback or the client-side control is loading content, accessing the methods or properties will cause an exception with the message: "The report or page is being updated. Please wait for the current action to complete." Use the isLoading property to check whether the report or page is being updated and whether you can access the methods and properties.

Accessing this property in an unsupported browser has no effect. For information on browser support, see Browser Support for ReportViewer Web Server Controls.

See Also

Reference

ReportViewer Class