Microsoft.Reporting.WebFormsClient.ReportViewer.zoomLevel Property

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

NoteNote

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'.

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

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.

Show: