View DOCX file in Blazor application
21 Jun 20231 minute to read
You can achieve this requirement of viewing DOCX file in two ways:.
Option 1:
You can use Syncfusion’s Word Processor component for Blazor to compose, view, and edit DOC, DOCX, RTF, and SFDT file formats.
To learn more about the Word Processor component, check out Syncfusion online samples and documentation.
Option 2:
You can convert Word document to PDF using the Syncfusion’s Word (DocIO) server-side library and view the resultant PDF file using SfPdfViewer component.
NOTE
You can refer to our Blazor SfPdfViewer feature tour page for its groundbreaking feature representations. You can also explore our Blazor SfPdfViewer example to understand how to explains core features of SfPdfViewer.