FreeSpire.DocViewer 4.1.0

.NET Framework 2.0
Install-Package FreeSpire.DocViewer -Version 4.1.0
dotnet add package FreeSpire.DocViewer --version 4.1.0
<PackageReference Include="FreeSpire.DocViewer" Version="4.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FreeSpire.DocViewer --version 4.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FreeSpire.DocViewer, 4.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install FreeSpire.DocViewer as a Cake Addin
#addin nuget:?package=FreeSpire.DocViewer&version=4.1.0

// Install FreeSpire.DocViewer as a Cake Tool
#tool nuget:?package=FreeSpire.DocViewer&version=4.1.0
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 | Customized Demo

Free Spire.DocViewer for .NET is a Community Edition of the Spire.DocViewer for .NET, which is a free Word viewer API for commercial and personal use.

Using Free Spire.DocViewer for .NET, developers can load, view, convert and print Word Documents within Windows Forms applications without Microsoft Office or any other third-party libraries to be installed on system.

Friendly Reminder: Free version is limited to 100 paragraphs and 5 tables. This limitation is enforced during viewing or printing files.

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 Free Spire.DocViewer for .NET via NuGet. You’ll find the controls offered by Free 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
.NET Framework net20 net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on FreeSpire.DocViewer:

Package Downloads
Kang.WPF.Frame

自己用的WPF轮子,封装好ORM + UI框架

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.1.0 5,464 1/18/2019
3.4.0 2,570 5/16/2018
1.8.0 4,251 1/28/2015