Back to Devexpress

DxDocumentViewer Class

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

latest3.2 KB
Original Source

DxDocumentViewer Class

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

Namespace : DevExpress.Blazor.Reporting

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

NuGet Package : DevExpress.Blazor.Reporting.JSBasedControls

Declaration

csharp
public class DxDocumentViewer :
    DxDocumentViewerBase
vb
Public Class DxDocumentViewer
    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 additional information: Convert Third-Party Reports to DevExpress Reports.

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

razor
<DxDocumentViewer ReportName="TestReport" Height="1000px" Width="100%">
        <DxDocumentViewerTabPanelSettings Width="180" />
</DxDocumentViewer>

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 DxDocumentViewer

See Also

DxDocumentViewer Members

DevExpress.Blazor.Reporting Namespace