dotnet add package GemBox.Document --version 35.0.1573
NuGet\Install-Package GemBox.Document -Version 35.0.1573
<PackageReference Include="GemBox.Document" Version="35.0.1573" />
paket add GemBox.Document --version 35.0.1573
#r "nuget: GemBox.Document, 35.0.1573"
// Install GemBox.Document as a Cake Addin #addin nuget:?package=GemBox.Document&version=35.0.1573 // Install GemBox.Document as a Cake Tool #tool nuget:?package=GemBox.Document&version=35.0.1573
What is GemBox.Document?
GemBox.Document is a .NET component that enables you to read, write, convert, and print document files (DOCX, DOC, PDF, RTF, HTML, and ODT) from .NET applications.
With GemBox.Document you get a fast and reliable component that’s easy to use and doesn't depend on Microsoft Word. It requires only .NET and it’s much faster than Microsoft Office Automation!
- Read Word (DOCX, DOC), ODT, HTML, RTF, XML (Flat OPC, WordML), TXT, and PDF files.
- Write / create and convert to DOCX, ODT, PDF, PDF/A, XPS, HTML, RTF, XML (Flat OPC, WordML), TXT, and image formats.
- View and edit documents in WPF, ASP.NET, ASP.NET Core, and Windows.Forms applications.
- Print documents.
- Protect, encrypt, and digitally sign documents.
- Get, create, or edit paragraphs, text, tables, hyperlinks, bookmarks, fields, sections, headers, footers, and footnotes and endnotes.
- Get, create, or edit drawings like shapes, pictures, charts, and text boxes.
- Get, create, or edit paragraph, character, list, table, table row, and table cell formatting.
- Get, create, or edit paragraph, list, character, and table styles.
- Access or modify section properties, picture properties, default paragraph, character formatting, and more.
- Get and set built-in and custom document properties.
- Clone or combine document elements between documents.
- Replace or set bookmark content.
- Load HTML / RTF / TXT into a specific document position.
- Import data to your document from various data sources and control the document import region and import process.
- Create, read, or update form fields. Preserve unsupported document content elements and properties when reading a document.
You are not sure how to start working with Word documents in .NET using GemBox.Document? Check the code below that shows how to create a DOCX file from scratch and write 'Hello World!' on it.
// If using Professional version, put your serial key below. ComponentInfo.SetLicense("FREE-LIMITED-KEY"); // Create a new empty document. var document = new DocumentModel(); // Add a section with one paragraph and some text. document.Sections.Add( new Section(document, new Paragraph(document, "Hello World!"))); // Save the document as Word's DOCX file. document.Save("Output.docx");
For more GemBox.Document code examples and demos, please visit our examples page.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net7.0-windows7.0 was computed. net8.0 was computed. net8.0-android was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- BouncyCastle (>= 1.8.9)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on GemBox.Document:
GemBox.Bundle is a package of .NET components for processing spreadsheets, documents, presentations, email messages, and images (XLSX, DOCX, PPTX, PDF, MSG, and PNG) from .NET applications. With GemBox.Bundle you get fast and reliable components that are easy to use and don't depend on Microsoft Office or Adobe Acrobat. They require only .NET so you can deploy your applications without having to think about other licenses.
Docati.Api is a .NET Standard library that can be used to generate documents (either DOCX or PDF) based on templates created with Microsoft Word and our special add-in. Like mail-merge, but much more powerful. Both Windows and Linux are supported. Docati.Api is free for small documents. For a full-version trial license contact us at firstname.lastname@example.org.
Template Manager to build PDF / HTML documents based on Microsoft Word/Excel templates. Requires a Gembox.Document license
Save Importent Data For Experiment
Digital Publications for Episerver is a .NET library that is tailored for Episerver CMS and used for converting documents to JSON, HTML and PDF.
This package is not used by any popular GitHub repositories.
Fixed issue with font fallback on Linux.
Fixed issue with duplicate page break in HTML reader.
Fixed issue with nested table rows in RTF reader.
Fixed issue with inherited section properties in RTF reader.
Fixed issue with empty shape in MHTML reader.
Fixed issue with formatting soft hyphen in PDF writer.
Fixed issue with default shape styles in DOCX writer.
Fixed issue with color table in RTF reader.
Fixed issue with vertical positioning of floating drawings inside header/footer in PDF writer.
Fixed issue with invalid list level override in DOC reader.
Fixed issue with preserved relationship when importing element to new document.
Added support for MergeBarcode fields in GetMergeFields and RemoveMergeFields methods.
Improved support for setting and deleting bookmark content.
Added cross-platform support for saving to image formats.