{"id":50312588,"url":"https://github.com/iron-software/ironword.examples","last_synced_at":"2026-05-28T22:01:59.994Z","repository":{"id":359024161,"uuid":"898301913","full_name":"iron-software/IronWord.Examples","owner":"iron-software","description":"C# Word library that creates, reads, and edits DOCX files without Microsoft Word or Interop. Runnable .NET examples for paragraphs, text runs with styling, tables with cell merging, images, shapes, page setup, find-and-replace, and MemoryStream export for HTTP delivery. .NET 10/9/8 through Framework 4.6.2.","archived":false,"fork":false,"pushed_at":"2026-05-20T03:05:45.000Z","size":241,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-05-20T06:42:58.878Z","etag":null,"topics":["csharp","document-automation","docx","docx-generation","dotnet","dotnet-core","iron-software","ironword","openxml-alternative","word","word-interop-alternative","word-processing"],"latest_commit_sha":null,"homepage":"https://ironsoftware.com/csharp/word/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iron-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-04T06:40:24.000Z","updated_at":"2026-05-20T03:05:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/iron-software/IronWord.Examples","commit_stats":null,"previous_names":["iron-software/ironword.examples"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/iron-software/IronWord.Examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iron-software%2FIronWord.Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iron-software%2FIronWord.Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iron-software%2FIronWord.Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iron-software%2FIronWord.Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iron-software","download_url":"https://codeload.github.com/iron-software/IronWord.Examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iron-software%2FIronWord.Examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33627948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","document-automation","docx","docx-generation","dotnet","dotnet-core","iron-software","ironword","openxml-alternative","word","word-interop-alternative","word-processing"],"created_at":"2026-05-28T22:01:59.023Z","updated_at":"2026-05-28T22:01:59.980Z","avatar_url":"https://github.com/iron-software.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IronWord.Examples\n\nRunnable C# examples for [IronWord](https://ironsoftware.com/csharp/word/), a .NET library for creating, reading, and editing DOCX files without Microsoft Word or Office Interop.\n\n## Install\n\n```bash\ndotnet add package IronWord\n```\n\n## Quickstart\n\n```csharp\nusing IronWord;\nusing IronWord.Models;\n\n// Create a new document with a styled paragraph\nvar doc = new WordDocument();\n\nvar paragraph = new Paragraph();\nparagraph.AddTextRun(new TextRun(\"Hello, IronWord!\"));\nparagraph.AddTextRun(new TextRun(\" Bold goes here.\", new TextStyle { IsBold = true }));\n\ndoc.AddParagraph(paragraph);\ndoc.SaveAs(\"hello.docx\");\n```\n\nTo open an existing document instead, use `new WordDocument(\"existing.docx\")`. Inserting images works similarly — construct an `Image` from a file or stream, set `Width` and `Height`, and add it to a paragraph with `paragraph.AddImage(image)`.\n\nFor production use, set a license key via `License.LicenseKey = \"YOUR-KEY\"`. Without one, documents include a watermark.\n\n## What's in this repo\n\nEach folder contains a self-contained .NET project you can open and run:\n\n- `examples/` — focused snippets demonstrating individual features\n- `get-started/` — minimal first projects covering installation and basic document creation\n- `how-to/` — task-oriented guides for specific document operations\n- `quickstart/` — end-to-end project scaffolds\n- `tutorials/` — longer walkthroughs combining multiple features (including the `document-element` tutorial covering paragraphs, runs, images, shapes, and tables)\n\n## Common tasks covered\n\n- Creating and loading DOCX files\n- Adding paragraphs, text runs, and styled text (font, size, color, bold, italic, underline, strikethrough)\n- Inserting images and shapes with positioning and text wrap\n- Building and editing tables: rows, columns, cell merging, borders, shading\n- Page setup: paper size, orientation, margins, background color\n- Bullet and numbered lists with custom indentation and nesting\n- Find-and-replace and content extraction for data processing\n- Saving to file, `MemoryStream`, or `byte[]` for HTTP delivery\n\n## Platform support\n\n.NET 10, 9, 8, 7, 6, 5, .NET Core 2x/3x, .NET Standard 2, and .NET Framework 4.6.2+. Windows, macOS, Linux, Docker, Azure, and AWS. See the [installation docs](https://ironsoftware.com/csharp/word/docs/) for environment-specific notes.\n\n## Documentation and support\n\n- Full documentation: [ironsoftware.com/csharp/word/docs](https://ironsoftware.com/csharp/word/docs/)\n- API reference: [ironsoftware.com/csharp/word/object-reference/api](https://ironsoftware.com/csharp/word/object-reference/api/)\n- Issues with these examples: file directly on this repository\n- Product support: [support@ironsoftware.com](mailto:support@ironsoftware.com)\n\n## About\n\nThis repository is maintained by [Iron Software](https://ironsoftware.com/). IronWord is a commercial library — see [licensing](https://ironsoftware.com/csharp/word/licensing/) for terms and trial details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firon-software%2Fironword.examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firon-software%2Fironword.examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firon-software%2Fironword.examples/lists"}