DxViewer.UpdateZoomAsync(String) Method
In This Article
Specifies a zoom percentage.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.Viewer.dll
NuGet Package: DevExpress.Blazor.Viewer
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
new |
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%:
Razor
await reportViewer.UpdateZoomAsync("150%");
See Also