Skip to main content
All docs
V24.2

DxViewer.UpdateZoomAsync(String) Method

Specifies a zoom percentage.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.Viewer.dll

NuGet Package: DevExpress.Blazor.Viewer

Declaration

public Task UpdateZoomAsync(
    string newValue
)

Parameters

Name Type Description
newValue String

A string that is the zoom percentage.

Returns

Type Description
Task

An asynchronous operation that sets the zoom level.

Remarks

The following code sets the page zoom level to 150%:

await reportViewer.UpdateZoomAsync("150%");
See Also