Skip to main content
All docs
V25.1
  • DxViewer.UpdateZoomAsync(String) Method

    Specifies a zoom percentage.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.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