GcWord Feature-Rich Microsoft Word Document API Library for .NET 6+
Document Solutions for Word (DsWord, previously GcWord) allows you to generate Word documents with speed, memory efficiency with no dependencies.
Generate, load, edit, and save Word documents
Feature-rich object model based on Microsoft Office API
Generate reports from scratch or use report templates
Compatible on multiple platforms, such as Windows, macOS, and Linux
Deploy to Azure and AWS
Overview
A .NET Word API library is a programming interface that allows developers to programmatically create and manipulate Microsoft Word documents at scale. Document Solutions for Word (DsWord) is a solution that allows developers to import/export DOCX files, create reports & templates, and deploy Word documents across desktop and web applications
Benefits of a C# .NET Word API
Fast and Efficient
Save memory and time with the lightweight API architecture. The bigger the document, the faster our API generates complex Word documents.
Extract Data From Word Documents
Parse existing Word documents into databases or generate new Word documents as needed---extraction includes everything from text to paragraphs and images.
Simple, Convenient Object Model
This all-new, feature-rich object model, based on Microsoft Office API, Word JavaScript API, and OpenXML SDK, is straightforward and intuitive.
Full .NET Support for Windows, Linux, and Mac
Develop for any .NET platform or major operating systems with a single code base. Use in your apps for .NET Framework, Mono, Xamarin.iOS, and Xamarin.Android.
Convert Word to PDF and Images
In addition to generating Word documents, you can quickly and easily convert those documents to an image or PDF in code---a top use case for this fast API.
Deploy Apps With Word Docs to the Cloud
Be everywhere with cloud-based deployment. With NuGet and Document Solutions for Word, you can deploy to Azure, AWS, and AWS Lambda.
This guide explains how to create a program that uses DsWord to generate and save a DOCX file with the typical "Hello, World!" text to a disk.
Load & Modify Existing DOCX Files
Load existing DOCX files and modify formatting, change theme colors, split or merge documents, copy paragraphs, and much more.
Find and Replace
Easily use C#/VB .NET code to find text in DOCX files, as well as replace all occurrences of text throughout the document, and insert text at specific locations.
Popular Word Document Formats
Create and work with a variety of popular Word documents. Input/Output includes DOCX, DOTM, DOCM, and DOTX. Output includes PDF and PDF/A.
Styles
Work with built-in and user-defined styles that demonstrate common, table, list, character, and paragraph styles.
Content
Add and edit content and work with styles including word wrapping, tables, paragraph styles, image placement, and inline text options.
Other Features
Explore the Advanced Features of a .NET Word API
Your full-fledged ASP.NET Core sample browser includes all the major features, real-time DOCX, PDF, image files, and use cases. Download individual .NET Core samples that can run as a standalone. The demos also include full sample code with comments along every step to help you onboard quickly with Document Solutions for Word.