Spire.DocViewer
7.10.1
See the version list below for details.
dotnet add package Spire.DocViewer --version 7.10.1
NuGet\Install-Package Spire.DocViewer -Version 7.10.1
<PackageReference Include="Spire.DocViewer" Version="7.10.1" />
paket add Spire.DocViewer --version 7.10.1
#r "nuget: Spire.DocViewer, 7.10.1"
// Install Spire.DocViewer as a Cake Addin #addin nuget:?package=Spire.DocViewer&version=7.10.1 // Install Spire.DocViewer as a Cake Tool #tool nuget:?package=Spire.DocViewer&version=7.10.1
Load, View & Convert Word Documents in WinForms
Product Page | Documentation | Examples | Forum | Temporary License | Customized Demo
Spire.DocViewer for .NET is a powerful Word viewer component that allows developers to load, view, convert and print Word Documents within Windows Forms applications with ease.
Using Spire.DocViewer for .NET, all versions of Word documents can be loaded and viewed, even encrypted (password-protected) Word documents. Furthermore, conversions from Word to images, RTF, PDF, HTML, XML, SVG, TXT, EPUB, XPS, WordML and WordXML are supported as well.
As an independent component, Spire.DocViewer for .NET doesn't need Microsoft Office or any other third-party libraries to be installed on system.
Main Functions
- High performance Word viewer for displaying Word documents in Windows Forms applications.
- Load and view all versions of Word documents, even encrypted (password-protected) Word documents.
- Load Word documents from disk or stream.
- Set viewing preferences, such as zoom in/out, fit width/height, and single/two page view.
- Search text.
- Convert Doc, Docx, Dotx to images, RTF, PDF, HTML, XML, SVG, TXT, EPUB, XPS, WordML and WordXML.
- Print Word documents.
- Enable developers to develop their custom Word document viewer.
How to Use this Viewer Component?
Create a Windows Forms application and install Spire.DocViewer for .NET via NuGet. You’ll find the controls offered by Spire.DocViewer in the Toolbox of your Visual Studio. There are three controls which you can drag into your Windows Forms application directly: DocViewer, DocDocumentViewer and DocumentToolbar.
- DocViewer: A viewer control with a pre-defined toolbar.
- DocDocumentViewer: A viewer control without toolbar. You can customize a toolbar if you want.
- DocumentToolbar: A toolbar control only.
DocViewer Control
Drag DocViewer control into your Form1, and add the following line of code in your Form1.cs.
this.docViewer1.LoadFromFile(@"C:\Users\Administrator\Desktop\Invoice-Template.docx");
Run the project, you’ll get the following result.
DocDocumentViewer Control
If you drag DocDocumentViewer control into your Form1, and add the following line of code in your Form1.cs.
this.docDocumentViewer1.LoadFromFile(@"C:\Users\Administrator\Desktop\Invoice-Template.docx");
Then, you’ll get the output as follows after running the project.
Product Page | Documentation | Examples | Forum | Temporary License | Customized Demo
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net20 is compatible. net35 was computed. net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Spire.DocViewer:
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 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.8.2 | 744 | 11/1/2024 |
8.8.1 | 2,394 | 8/28/2024 |
8.7.8 | 4,209 | 3/13/2024 |
8.7.4 | 118 | 3/11/2024 |
8.7.3 | 130 | 3/11/2024 |
8.7.1 | 2,083 | 8/23/2023 |
8.5.3 | 1,179 | 7/6/2023 |
8.5.2 | 221 | 7/5/2023 |
8.5.1 | 3,149 | 5/19/2023 |
8.3.0 | 659 | 3/15/2023 |
7.10.1 | 743 | 10/17/2022 |
7.5.0 | 1,123 | 5/18/2022 |
7.1.0 | 845 | 1/25/2022 |
6.6.1 | 920 | 6/10/2021 |
6.1.0 | 725 | 1/21/2021 |
5.1.0 | 1,130 | 1/16/2020 |
4.1.0 | 2,224 | 1/18/2019 |
3.11.2 | 1,126 | 11/16/2018 |
3.9.0 | 1,153 | 9/5/2018 |
3.3.0 | 1,433 | 3/21/2018 |
2.5.0 | 1,324 | 1/26/2018 |
2.4.37 | 1,276 | 11/24/2017 |
2.4.25 | 1,161 | 10/23/2017 |
2.3.2 | 1,864 | 11/8/2016 |
2.2.46 | 1,284 | 8/24/2016 |
1.8.0 | 2,421 | 11/20/2014 |
1.7.1 | 1,435 | 8/1/2014 |
1.6.0 | 1,476 | 4/28/2014 |
1.5.0 | 1,524 | 3/18/2014 |
1.2.16 | 1,294 | 3/25/2013 |
Spire.DocViewer 7.1