Skip to main content
All docs
V18.2

ASPxClientWebDocumentViewer.GetReportPreview() Method

Provides access to the report preview.

Namespace: DevExpress.XtraReports.Web.Scripts

Assembly: DevExpress.XtraReports.v18.2.Web.Scripts.dll

Declaration

public ASPxClientReportPreview GetReportPreview()

Returns

Type Description
ASPxClientReportPreview

An object that specifies the report preview.

Remarks

The following code snippet demonstrates how to zoom a previewed document.

<dx:ASPxWebDocumentViewer ID="ASPxWebDocumentViewer1" runat="server" ReportSourceId="DXWebApplication1.XtraReport1">
    <ClientSideEvents Init="function(s, e) { s.GetReportPreview().zoom(0.9); }"/>
</dx:ASPxWebDocumentViewer>
See Also