AI-generated, compiler-validated C# examples for the Aspose.Words for .NET API.
| Metric | Value |
|---|---|
| Total Examples | 1794 |
| Categories | 29 |
| Overall Pass Rate | 100.0% |
| Last Updated | 2026-05-18 |
AGENTS.md
README.md
index.json
+-- barcode-image/
+-- charts/
+-- comments/
+-- comparison/
+-- content-control/
+-- conversion/
+-- extraction/
+-- find-and-replace/
+-- fonts/
+-- form-fields/
+-- hyphenation/
+-- images/
+-- join-documents/
+-- linq-reporting/
+-- lists/
+-- mail-merge/
+-- officemath/
+-- ole-objects/
+-- paragraphs/
+-- programming-with-documents/
+-- range/
+-- rendering/
+-- security-and-protection/
+-- shapes/
+-- split-document/
+-- track-changes/
+-- vba-macros/
+-- watermark/
+-- working-with-table/
| Category | Examples | Pass Rate | Details |
|---|---|---|---|
| BarCode Image | 30 | 100.0% | AGENTS.md |
| Charts | 39 | 100.0% | AGENTS.md |
| Comments | 30 | 100.0% | AGENTS.md |
| Comparison | 30 | 100.0% | AGENTS.md |
| Content Control | 35 | 100.0% | AGENTS.md |
| Conversion | 108 | 100.0% | AGENTS.md |
| Extraction | 30 | 100.0% | AGENTS.md |
| Find and Replace | 63 | 100.0% | AGENTS.md |
| Fonts | 35 | 100.0% | AGENTS.md |
| Form Fields | 30 | 100.0% | AGENTS.md |
| Hyphenation | 40 | 100.0% | AGENTS.md |
| Images | 120 | 100.0% | AGENTS.md |
| Join Documents | 36 | 100.0% | AGENTS.md |
| LINQ Reporting | 403 | 100.0% | AGENTS.md |
| Lists | 30 | 100.0% | AGENTS.md |
| Mail Merge | 30 | 100.0% | AGENTS.md |
| OfficeMath | 30 | 100.0% | AGENTS.md |
| OLE Objects | 30 | 100.0% | AGENTS.md |
| Paragraphs | 35 | 100.0% | AGENTS.md |
| Programming With Documents | 110 | 100.0% | AGENTS.md |
| Range | 30 | 100.0% | AGENTS.md |
| Rendering | 70 | 100.0% | AGENTS.md |
| Security and Protection | 30 | 100.0% | AGENTS.md |
| Shapes | 35 | 100.0% | AGENTS.md |
| Split Document | 30 | 100.0% | AGENTS.md |
| Track Changes | 40 | 100.0% | AGENTS.md |
| VBA Macros | 34 | 100.0% | AGENTS.md |
| Watermark | 34 | 100.0% | AGENTS.md |
| Working With Table | 197 | 100.0% | AGENTS.md |
Each .cs file is a standalone console example. To run one example, create a temporary console project, add the required package, copy the selected example as Program.cs, then build and run.
dotnet new console -n ExampleProject --framework net8.0
cd ExampleProject
dotnet add package Aspose.Words --version 26.4.0Copy-Item ..\<category-folder>\<example-file>.cs .\Program.cs
dotnet build --configuration Release --verbosity minimal
dotnet run --configuration Release --no-build- .NET SDK (
net8.0) - Aspose.Words for .NET
26.4.0 - Additional packages only when required by a specific example, such as Aspose.BarCode, Aspose.Drawing.Common, Newtonsoft.Json, SkiaSharp, or System.Text.Encoding.CodePages
- Any input files required by a specific example
Maintained by agentic example generation workflow | Last Updated: 2026-05-18