Back to Devexpress

DxWasmDocumentViewer Class

xtrareports-devexpress-dot-blazor-dot-reporting-c4291e2d.md

latest3.2 KB
Original Source

DxWasmDocumentViewer Class

A control that displays an interactive preview of a document generated from a report and allows the user to view, print, and export a report document in hosted Blazor WebAssembly apps.

Namespace : DevExpress.Blazor.Reporting

Assembly : DevExpress.Blazor.Reporting.v25.2.JSBasedControls.WebAssembly.dll

NuGet Package : DevExpress.Blazor.Reporting.JSBasedControls.WebAssembly

Declaration

csharp
public class DxWasmDocumentViewer :
    DxDocumentViewerBase
vb
Public Class DxWasmDocumentViewer
    Inherits DxDocumentViewerBase

Remarks

The Document Viewer is a component that displays an interactive preview of a document generated from a report that is designed on the DevExpress Reporting platform. The Document Viewer allows the user to view, print, and export the report document.

The Document Viewer is designed to display only DevExpress Reports. Our reports use the XML-based report file format, which is not compatible with third-party reporting applications. We offer a utility to convert third-party reports to DevExpress format. Refer to the following help topic for more information: Convert Third-Party Reports to DevExpress Reports.

The following code adds the DxDocumentViewer control to a page, and loads the TestReport report:

razor
<DxWasmDocumentViewer ReportName="TestReport" Height="calc(100vh - 130px)" Width="100%">
    <DxDocumentViewerTabPanelSettings Width="340" />
    <DxWasmDocumentViewerRequestOptions InvokeAction="DXXRDV"></DxWasmDocumentViewerRequestOptions>
</DxWasmDocumentViewer>

Get Started

The following topics show how to create a Blazor application with the Document Viewer using DevExpress and Microsoft templates:

Inheritance

Object ComponentBase DevExpress.Blazor.Reporting.Base.ReportingComponentBase DxDocumentViewerBase DxWasmDocumentViewer

See Also

DxWasmDocumentViewer Members

DevExpress.Blazor.Reporting Namespace