![]() |
VOOZH | about |
dotnet add package Spire.OfficeViewer --version 8.9.0
NuGet\Install-Package Spire.OfficeViewer -Version 8.9.0
<PackageReference Include="Spire.OfficeViewer" Version="8.9.0" />
<PackageVersion Include="Spire.OfficeViewer" Version="8.9.0" />Directory.Packages.props
<PackageReference Include="Spire.OfficeViewer" />Project file
paket add Spire.OfficeViewer --version 8.9.0
#r "nuget: Spire.OfficeViewer, 8.9.0"
#:package Spire.OfficeViewer@8.9.0
#addin nuget:?package=Spire.OfficeViewer&version=8.9.0Install as a Cake Addin
#tool nuget:?package=Spire.OfficeViewer&version=8.9.0Install as a Cake Tool
Product Page | Forum | Customized Demo | Temporary License
Spire.OfficeViewer for .NET is a powerful Office Viewer component for developers to load Word, Excel, PowerPoint and PDF files and view them in a Windows Form application. It supports to view and print DOC, DOCX, DOT, XLS, XLSX, XLSB, ODS, PPT, PPTX, PPS, PPSX and PDF file formats. As a standalone library, Spire.OfficeViewer does not requires any other 3rd party library to be installed on system.
Create a Windows Form application, and install Spire.OfficeViewer for .NET via NuGet. You’ll find the controls offered by Spire.OfficeViewer in the Toolbox of your Visual Studio. There are three controls which you can drag into your Windows Form application directly, namely DocumentToolbar, DocumentViewer and OfficeViewer.
Drag OfficeViewer into your Form1, and add the following line of code in your Form1.cs.
this.officeViewer1.LoadFromFile(@"C:\Users\Administrator\Desktop\Invoice-Template.docx");
Run the project, and you’ll get the following result.
If you drag DocumentViewer into your Form1, and add the following line of code in your Form1.cs.
this.documentViewer1.LoadFromFile(@"C:\Users\Administrator\Desktop\Invoice-Template.docx");
Then, you’ll get the output as follows after running the project.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net40 net40 is compatible. net403 net403 was computed. net45 net45 was computed. net451 net451 was computed. net452 net452 was computed. net46 net46 was computed. net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 is compatible. net481 net481 was computed. |
Showing the top 1 NuGet packages that depend on Spire.OfficeViewer:
| Package | Downloads |
|---|---|
|
Spire.Office
Spire.Office for .NET is a combination of Enterprise-Level Office .NET components offered by E-iceblue. It includes Spire.Doc, Spire XLS, Spire.Presentation, Spire.PDF, Spire.DataExport, Spire.PDFViewer, Spire.DocViewer, Spire.Email and Spire.BarCode. Spire.Office contains the most up-to-date versions of the above .NET components. From Spire.Office 3.10.1, Spire.Office supports to work on .NET Core,.NET Standard, Xamarin. With Spire.Office for .NET, developers can create a wide range of applications. It enables developers to open, create, modify, convert, print, View MS Word, Excel, PowerPoint and PDF documents. Furthermore, it allows users to export data to popular files such as MS Word/Excel/RTF/Access, PowerPoint, PDF, XPS, HTML, XML, Text, CSV, DBF, Clipboard, SYLK, etc. As an independent Office .NET component, Spire.Office doesn't need Microsoft Office to be installed on neither the development nor target systems. In addition, it is a better alternative to MS Office Automation in terms of security, stability, scalability, speed, price and features. Spire.Office for .NET can be linked into any type of a 32-bit or 64-bit .NET application including ASP.NET, Web Services and WinForms for .NET Framework version 2.0 to 4.5, .NET Core, .NET standard 2.0 |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.9.0 | 4,217 | 12/31/2025 |
| 8.8.0 | 834 | 5/7/2025 |
| 8.7.15 | 9,516 | 9/3/2024 |
| 8.7.10 | 4,253 | 4/28/2024 |
| 8.5.3 | 3,473 | 5/23/2023 |
| 7.5.0 | 2,624 | 5/18/2022 |
| 7.1.0 | 1,976 | 1/25/2022 |
| 6.6.0 | 1,313 | 6/15/2021 |
| 6.1.0 | 1,206 | 1/21/2021 |
| 5.4.1 | 1,338 | 4/21/2020 |
| 5.1.0 | 1,316 | 1/14/2020 |
| 4.1.0 | 2,898 | 1/18/2019 |
| 2.14.5 | 2,615 | 9/15/2016 |
Spire.Officeviewer 8.8.0