Skip to main content
All docs
V25.1
  • ZoomConstants.PageWidth Field

    Zooms the document to fit the page width.

    Namespace: DevExpress.Blazor.Reporting.Models

    Assembly: DevExpress.Blazor.v25.1.Viewer.dll

    NuGet Package: DevExpress.Blazor.Viewer

    Declaration

    public const double PageWidth = -2

    Field Value

    Type
    Double

    Remarks

    Use the Zoom property to specify the zoom level:

    @using DevExpress.Blazor.Reporting.Models
    @*...*@
    
    <DxReportViewer @ref="reportViewer" Report="Report" Zoom=ZoomConstants.PageWidth/>
    

    You can also use the UpdateZoomAsync(Double) method to change the page zoom level in the Report Viewer.

    See Also