{"id":2240,"date":"2024-10-17T12:57:50","date_gmt":"2024-10-17T12:57:50","guid":{"rendered":"http:\/\/localhost:10003\/?p=2240"},"modified":"2026-08-25T15:55:50","modified_gmt":"2026-08-25T19:55:50","slug":"creation-de-documents-word-par-programmation-avec-xceed-words-for-net-en-c","status":"publish","type":"post","link":"https:\/\/xceed.com\/fr\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/","title":{"rendered":"Cr\u00e9ation de documents Word par programmation avec Xceed Words for .NET en C#"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2240\" class=\"elementor elementor-2240\" wpc-filter-elementor-widget=\"1\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1f19ca39 e-flex e-con-boxed e-con e-parent\" data-id=\"1f19ca39\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2daefbcf elementor-widget elementor-widget-text-editor\" data-id=\"2daefbcf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<style>\n  .cta-box {\n    background: linear-gradient(145deg, #ff8441 0%, #ff772e 40%, #ff7429 100%);\n    color: #fff;\n    border-radius: 12px;\n    padding: 1.5rem 1.75rem;\n    margin: 2rem 0;\n    box-sizing: border-box;\n    box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 4px 10px rgba(168,63,8,0.15), inset 0 1px 0 rgba(255,255,255,0.12);\n  }\n  .cta-box h3 { margin: 0 0 0.5rem 0; font-size: 1.25rem; font-weight: 700; color: #fff; }\n  .cta-box p { margin: 0 0 1rem 0; font-size: 1rem; line-height: 1.5; color: #fff; opacity: 0.98; }\n  .cta-box a.cta-link { display: inline-block; background: #fff; color: #ff671b; text-decoration: none; font-weight: 600; padding: 0.5rem 1rem; border-radius: 8px; margin-right: 0.75rem; margin-top: 0.25rem; font-size: 0.9375rem; }\n  .cta-box a.cta-link:hover { background: #f5f5f5; }\n  pre[class*=\"language-\"] { margin: 2rem 0 !important; padding: 1rem 1.25rem !important; overflow-x: auto !important; font-size: 0.9rem !important; line-height: 1.5 !important; border-radius: 10px !important; background: #1e1e1e !important; border: 1px solid #333 !important; color: #d4d4d4 !important; }\n  pre[class*=\"language-\"] code { background: none !important; padding: 0 !important; color: #d4d4d4 !important; font-family: Consolas, Monaco, 'Courier New', monospace !important; }\n  pre[class*=\"language-\"] code span { color: inherit; }\n  pre[class*=\"language-\"] .token.tag { color: #569cd6 !important; }\n  pre[class*=\"language-\"] .token.attr-name { color: #9cdcfe !important; }\n  pre[class*=\"language-\"] .token.attr-value { color: #ce9178 !important; }\n  pre[class*=\"language-\"] .token.punctuation { color: #808080 !important; }\n  pre[class*=\"language-\"] .token.namespace { color: #4ec9b0 !important; }\n  pre[class*=\"language-\"] .token.keyword { color: #569cd6 !important; }\n  pre[class*=\"language-\"] .token.class-name { color: #4ec9b0 !important; }  pre[class*=\"language-\"] .token.string { color: #ce9178 !important; }\n  pre[class*=\"language-\"] .token.comment { color: #6a9955 !important; }\n  pre[class*=\"language-\"] .token.property { color: #9cdcfe !important; }<br \/>\n  pre[class*=\"language-\"] .token.operator { color: #d4d4d4 !important; }\n<\/style>\n<article><section>\n<div class=\"cta-box\">\n<h3>Need Excel or PDF Generation Too?<\/h3>Xceed now offers an <a href=\"https:\/\/xceed.com\/products\/net\/workbooks-for-net\/\">Excel<\/a> and <a href=\"https:\/\/xceed.com\/products\/net\/pdf-library-for-net\/\">PDF<\/a> Library. Try them with our 45-day free trial.\n<\/div>\n\n<p class=\"wp-block-paragraph\">If you want to create Word documents programmatically using C#, Xceed Words for .NET is a powerful and easy-to-use API that can help you get the job done. In this article, we&#8217;ll explore how to use Xceed Words for .NET to create a new Word document and add content to it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating a New Word Document<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To create a new Word document programmatically in C# using Xceed Words for .NET, you simply need to specify the filename or file path and name, then save the document. This process can be achieved with just a few lines of code, as shown in the example below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Create a new document\n\tusing( var document = DocX.Create( \"NewDocument.docx\" ) )\n\t{\n\t\t\/\/ Save this document to disk.\n\t\tdocument.Save();\n\t}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We can also open an existing document instead of creating a new one (by using\u00a0<em>Load<\/em>\u00a0instead of\u00a0<em>Create<\/em>), and we can choose to save to a new document instead of overwriting the existing one (by using\u00a0<em>SaveAs<\/em>\u00a0instead of\u00a0<em>Save<\/em>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Open an existing document\n\tusing( var document = DocX.Load( \"ExistingDocument.docx\" ) )\n\t{\n\t\t\/\/ Save this document to disk.\n\t\tdocument.SaveAs( \"NewCopy.docx\" );\n\t}\n\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Notes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The Create, Load and SaveAs methods expect either a String or Stream as parameter.<\/li>\n\n\n\n<li>The Create method also supports an optional parameter to indicate the document type.<\/li>\n\n\n\n<li>For more information please refer to the documentation.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Adding Paragraphs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A blank document is not very useful, so we will add a few paragraphs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Adding a paragraph is done by calling\u00a0<em>InsertParagraph<\/em>\u00a0on the Document. This will return the newly created paragraph, so we can assign it to a variable if we plan on doing any modifications to it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Insert a blank paragraph.\ndocument.InsertParagraph();\n\n\/\/ Insert a paragraph that we want to modify.\nvar p = document.InsertParagraph();\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once we have a paragraph in hand, we can modify it in several ways. We can append elements such as text, bookmark, hyperlink, picture, etc. We can also change the format, such as the font family, font size, color, make it bold\/italic\/underlined, etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For this time, we will focus on appending simple text, and looking at a few ways that we can customize how that text looks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Appending text to a paragraph<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Adding text can be done by calling\u00a0<em>Append<\/em>\u00a0on the paragraph. If the text we append should have a certain look, that can also be specified at the same time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are a few examples:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Append text without any formatting\nvar p1 = document.InsertParagraph();\np1.Append(\u201cThis is the first paragraph.\u201d);\n\n\/\/ Append text formatted to be Red and Bold\nvar p2 = document.InsertParagraph();\np2.Append(\u201cThis is the second paragraph.\u201d)\n.Color( Color.Red )\n.Bold();\n\n\/\/ Append text formatted to be in Arial and size 24\nvar p3 = document.InsertParagraph();\np3.Append(\u201cThis is the third paragraph.\u201d)\n.Font( new Xceed.Document.NET.Font( \"Arial\" ) )\n.FontSize( 24 );\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We can also append more than one text block at the same time and have each with their own formatting:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Append text formatted to be Red and Bold\nvar p = document.InsertParagraph();\np.Append(\u201cThis is a simple formatted red bold paragraph\u201d)\n.Font( new Xceed.Document.NET.Font( \"Arial\" ) )\n.FontSize( 24 )\n.Color( Color.Red )\n.Bold()\n.Append(\u201c containing a blue italic text.\u201d)\n.Font( new Xceed.Document.NET.Font( \"Times New Roman\" ) )\n.Color( Color.Blue )\n.Italic();<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Notes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The Append method also supports an optional parameter to indicate the Formatting.<\/li>\n\n\n\n<li>This Formatting parameter allows you to set a common format and re-use it more easily.<\/li>\n\n\n\n<li>For more information please refer to the documentation.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">There you have it, your first steps in creating a Words document (docx) using C#. We will have more articles available soon to help you learn more advanced functionalities.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For more information, please refer to the\u00a0<a href=\"https:\/\/doc.xceed.com\/xceed-document-libraries-for-net\/webframe.html#rootWelcome.html\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\n\n<\/section>\n<\/article>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Si vous souhaitez cr\u00e9er des documents Word de mani\u00e8re programmatique \u00e0 l'aide de C#, Xceed Words for .NET est une API puissante et facile \u00e0 utiliser qui peut vous aider \u00e0 r\u00e9aliser ce travail. Dans cet article, nous verrons comment utiliser Xceed Words for .NET pour cr\u00e9er un nouveau document Word et y ajouter du contenu.<\/p>","protected":false},"author":2,"featured_media":2241,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[60],"tags":[],"products":[],"class_list":["post-2240","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creating Word Documents Programmatically with Xceed Words for .NET in C# - Xceed Software<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/xceed.com\/fr\/blog\/tutoriels\/creation-de-documents-word-par-programmation-avec-xceed-words-for-net-en-c\/\" \/>\n<meta property=\"og:locale\" content=\"fr_CA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating Word Documents Programmatically with Xceed Words for .NET in C# - Xceed Software\" \/>\n<meta property=\"og:description\" content=\"If you want to create Word documents programmatically using C#, Xceed Words for .NET is a powerful and easy-to-use API that can help you get the job done. In this article, we&#039;ll explore how to use Xceed Words for .NET to create a new Word document and add content to it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xceed.com\/fr\/blog\/tutoriels\/creation-de-documents-word-par-programmation-avec-xceed-words-for-net-en-c\/\" \/>\n<meta property=\"og:site_name\" content=\"Xceed Software\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-17T12:57:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-25T19:55:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_WDN.png\" \/>\n\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Alain Jreij\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alain Jreij\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/\"},\"author\":{\"name\":\"Alain Jreij\",\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#\\\/schema\\\/person\\\/2d9169e6fd8ae4a8f58a9e1cc9a73778\"},\"headline\":\"Creating Word Documents Programmatically with Xceed Words for .NET in C#\",\"datePublished\":\"2024-10-17T12:57:50+00:00\",\"dateModified\":\"2026-08-25T19:55:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/\"},\"wordCount\":468,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/blog_WDN.png\",\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/\",\"url\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/\",\"name\":\"Creating Word Documents Programmatically with Xceed Words for .NET in C# - Xceed Software\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/blog_WDN.png\",\"datePublished\":\"2024-10-17T12:57:50+00:00\",\"dateModified\":\"2026-08-25T19:55:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/#breadcrumb\"},\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/#primaryimage\",\"url\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/blog_WDN.png\",\"contentUrl\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/blog_WDN.png\",\"width\":350,\"height\":350},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/xceed.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating Word Documents Programmatically with Xceed Words for .NET in C#\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/xceed.com\\\/fr\\\/\",\"name\":\"Xceed Software\",\"description\":\"Provides tools for .NET, Windows Forms, WPF, Silverlight, and ASP.NET developers to create better applications.\",\"publisher\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/xceed.com\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-CA\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#organization\",\"name\":\"Xceed Software\",\"alternateName\":\"Xceed Software\",\"url\":\"https:\\\/\\\/xceed.com\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/Untitled-design-24.png\",\"contentUrl\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/Untitled-design-24.png\",\"width\":512,\"height\":512,\"caption\":\"Xceed Software\"},\"image\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#\\\/schema\\\/person\\\/2d9169e6fd8ae4a8f58a9e1cc9a73778\",\"name\":\"Alain Jreij\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g\",\"caption\":\"Alain Jreij\"},\"url\":\"https:\\\/\\\/xceed.com\\\/fr\\\/blog\\\/author\\\/jreijaxceed-com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating Word Documents Programmatically with Xceed Words for .NET in C# - Xceed Software","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/xceed.com\/fr\/blog\/tutoriels\/creation-de-documents-word-par-programmation-avec-xceed-words-for-net-en-c\/","og_locale":"fr_CA","og_type":"article","og_title":"Creating Word Documents Programmatically with Xceed Words for .NET in C# - Xceed Software","og_description":"If you want to create Word documents programmatically using C#, Xceed Words for .NET is a powerful and easy-to-use API that can help you get the job done. In this article, we'll explore how to use Xceed Words for .NET to create a new Word document and add content to it.","og_url":"https:\/\/xceed.com\/fr\/blog\/tutoriels\/creation-de-documents-word-par-programmation-avec-xceed-words-for-net-en-c\/","og_site_name":"Xceed Software","article_published_time":"2024-10-17T12:57:50+00:00","article_modified_time":"2026-08-25T19:55:50+00:00","og_image":[{"width":350,"height":350,"url":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_WDN.png","type":"image\/png"}],"author":"Alain Jreij","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alain Jreij","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/#article","isPartOf":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/"},"author":{"name":"Alain Jreij","@id":"https:\/\/xceed.com\/fr\/#\/schema\/person\/2d9169e6fd8ae4a8f58a9e1cc9a73778"},"headline":"Creating Word Documents Programmatically with Xceed Words for .NET in C#","datePublished":"2024-10-17T12:57:50+00:00","dateModified":"2026-08-25T19:55:50+00:00","mainEntityOfPage":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/"},"wordCount":468,"commentCount":0,"publisher":{"@id":"https:\/\/xceed.com\/fr\/#organization"},"image":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/#primaryimage"},"thumbnailUrl":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_WDN.png","articleSection":["Tutorials"],"inLanguage":"fr-CA","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/","url":"https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/","name":"Creating Word Documents Programmatically with Xceed Words for .NET in C# - Xceed Software","isPartOf":{"@id":"https:\/\/xceed.com\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/#primaryimage"},"image":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/#primaryimage"},"thumbnailUrl":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_WDN.png","datePublished":"2024-10-17T12:57:50+00:00","dateModified":"2026-08-25T19:55:50+00:00","breadcrumb":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/#breadcrumb"},"inLanguage":"fr-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/"]}]},{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/#primaryimage","url":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_WDN.png","contentUrl":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_WDN.png","width":350,"height":350},{"@type":"BreadcrumbList","@id":"https:\/\/xceed.com\/blog\/tutorials\/creating-word-documents-programmatically-with-xceed-words-for-net-in-c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/xceed.com\/"},{"@type":"ListItem","position":2,"name":"Creating Word Documents Programmatically with Xceed Words for .NET in C#"}]},{"@type":"WebSite","@id":"https:\/\/xceed.com\/fr\/#website","url":"https:\/\/xceed.com\/fr\/","name":"Xceed Software","description":"Fournit des outils aux d\u00e9veloppeurs .NET, Windows Forms, WPF, Silverlight et ASP.NET pour cr\u00e9er de meilleures applications.","publisher":{"@id":"https:\/\/xceed.com\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/xceed.com\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-CA"},{"@type":"Organization","@id":"https:\/\/xceed.com\/fr\/#organization","name":"Xceed Software","alternateName":"Xceed Software","url":"https:\/\/xceed.com\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/xceed.com\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/xceed.com\/wp-content\/uploads\/2026\/07\/Untitled-design-24.png","contentUrl":"https:\/\/xceed.com\/wp-content\/uploads\/2026\/07\/Untitled-design-24.png","width":512,"height":512,"caption":"Xceed Software"},"image":{"@id":"https:\/\/xceed.com\/fr\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/xceed.com\/fr\/#\/schema\/person\/2d9169e6fd8ae4a8f58a9e1cc9a73778","name":"Alain Jreij","image":{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/secure.gravatar.com\/avatar\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g","caption":"Alain Jreij"},"url":"https:\/\/xceed.com\/fr\/blog\/author\/jreijaxceed-com\/"}]}},"_links":{"self":[{"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/posts\/2240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/comments?post=2240"}],"version-history":[{"count":1,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/posts\/2240\/revisions"}],"predecessor-version":[{"id":4284,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/posts\/2240\/revisions\/4284"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/media\/2241"}],"wp:attachment":[{"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/media?parent=2240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/categories?post=2240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/tags?post=2240"},{"taxonomy":"products","embeddable":true,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/products?post=2240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}