VOOZH about

URL: https://www.nuget.org/packages/Spire.DocViewer/

⇱ NuGet Gallery | Spire.DocViewer 8.10.0




👁 Image
Spire.DocViewer 8.10.0

dotnet add package Spire.DocViewer --version 8.10.0
 
 
NuGet\Install-Package Spire.DocViewer -Version 8.10.0
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Spire.DocViewer" Version="8.10.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Spire.DocViewer" Version="8.10.0" />
 
Directory.Packages.props
<PackageReference Include="Spire.DocViewer" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Spire.DocViewer --version 8.10.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Spire.DocViewer, 8.10.0"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Spire.DocViewer@8.10.0
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Spire.DocViewer&version=8.10.0
 
Install as a Cake Addin
#tool nuget:?package=Spire.DocViewer&version=8.10.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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. It supports to work on .NET 2.0, .NET 4.0, .NET 4.0 ClientProfile, .NET4.6, .NET4.8, .NET 6.0, and .NET MAUI.

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.

👁 img1

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.

👁 img2

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.

👁 img2

Product Page | Documentation | Examples | Forum | Temporary License | Customized Demo

Product Versions Compatible and additional computed target framework versions.
.NET net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-android33.0 net7.0-android33.0 is compatible.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net7.0-windows10.0.19041 net7.0-windows10.0.19041 is compatible.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.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 was computed.  net481 net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.10.0 4,318 12/26/2025
8.9.4 1,333 9/29/2025
8.9.1 1,580 6/26/2025
8.9.0 935 4/3/2025
8.8.5 2,920 2/8/2025
8.8.3 2,039 12/3/2024
8.8.2 1,918 11/1/2024
8.8.1 10,214 8/28/2024
8.7.8 7,902 3/13/2024
8.7.4 282 3/11/2024
8.7.3 341 3/11/2024
8.7.1 3,422 8/23/2023
8.5.3 1,540 7/6/2023
8.5.2 384 7/5/2023
8.5.1 9,647 5/19/2023
8.3.0 848 3/15/2023
7.10.1 947 10/17/2022
Loading failed