IRONSOFTWARE
  • PRODUCTS
  • ENTERPRISE
  • FREE TOOLS
  • USE CASES
  • COMPANY
  • CONTACT US
205 N. Michigan Ave. Chicago, IL 60601, USA
+1 (312) 500-3060
CONTACT US
Icon Triangle related to 
									Add List
  • Sales
  • Support
  • Partnerships
  • Corporate
Live Chat 24/5
    Icon Triangle related to 
									Add List
  • English
  • Español
  • Deutsch
  • Français
  • 日本語
  • 简体中文
  • 繁體中文

Use Cases

Icon Triangle related to Use Cases
  • Customers Case Studies
  • Industry White Papers

Company

Icon Triangle related to Company
  • About Us
    Icon Text Wearehiring related to Company
  • Company News
    Icon Text Wearehiring related to Company
  • Customers & Case Studies
    Icon Text Wearehiring related to Company
  • Environmental Commitments
    Icon Text Wearehiring related to Company
  • Startup Impact Grant
    Icon Text Wearehiring related to Company
  • Beta Program
    Icon Text Wearehiring related to Company
  • Year in Review: 2024
    Icon Text Wearehiring related to Company
  • Careers
    Icon Text Wearehiring related to Company
  • Consulting Partners
  • Content Creators
  • Resellers Partners
  • Technology Partners
  • Microsoft MVPs
  • Affiliates
  • Global Resellers
  • Consulting Partners
  • Merchant of Record
  • Trust Center
  • Sales
  • Support
  • Partnerships
  • Corporate
Live Chat 24/5

Products

Icon Triangle related to Products
Icon Logo Ironsuite related to Products

IRONSUITE

All 10 for the Price of 2

Save 80% with Iron Suite
Logo 1 Percent related to Products
Logo IronPDF
Logo IronPDF

Create, read, and edit PDFs

Logo IronPPT
Logo IronPPT

Edit PowerPoint Files. No Office Interop required

Logo IronQR
Logo IronQR

Read and write QR codes with ML detection

Logo IronWebscraper
Logo IronWebscraper

Extract structured data from website

Logo IronWord
Logo IronWord

Edit DOCX Word Files. No Office Interop required

Logo IronOCR
Logo IronOCR

Image to text in 125 languages

Logo IronPrint
Logo IronPrint

Customized Printing Files

Logo IronXL
Logo IronXL

Edit Excel & CSV Files. No Office Interop required

Logo IronBarcode
Logo IronBarcode

Read and write Barcodes

Logo IronZIP
Logo IronZIP

Zip and unzip archives

Enterprise

Icon Triangle related to Enterprise
Icon Logo Ironsuite related to Enterprise
Icon Text Ironsuite related to Enterprise

Enterprise Licensing

Icon Logo Ironsecuredoc related to Enterprise
Icon Text Ironsecuredoc related to Enterprise

PDF Security & Compliance

Free Tools

Icon Triangle related to Free Tools
Icon Logo Irondrawing related to Free Tools
Icon Text Irondrawing related to Free Tools

System.Drawing.Common Replacement

Icon Logo Ironfreetools related to Free Tools
Icon Text Ironfreetools related to Free Tools

Free Software Development Tools

IronWord Homepage
  • Home
  • Licensing
    • Licensing
    • EULA
    • Support & Update Extensions
    • License Upgrades
    • How to Use License Keys
    • Start Free Trial
  • Demos
    • Code Examples
    • Book a Live Demo
  • Docs
    • Get Started
    • Tutorials
    • How-Tos
    • Troubleshooting
    • Product Updates
    • API Reference  
Start for Free
NuGet Download Start Free Trial
Logo Icon related to 
									Add List
IronWord Homepage
for
.NET
  • IRONSOFTWARE HOME
  • Mobile Product Menu

    PRODUCTS
    • IRONSUITE

    • IRONPDF
      UPDATED
    • IRONWORD
    • IRONXL
    • IRONPPT
    • IRONOCR
    • IRONBARCODE
    • IRONQR
    • IRONZIP
    • IRONPRINT
    • IRONWEBSCRAPER
  • Mobile Enterprise Menu

    ENTERPRISE
    • IRONSUITE ENTERPRISE
    • IRONSECUREDOC
  • Mobile Open Source Menu

    OPEN SOURCE
    • IRONDRAWING
    • IRONFREETOOLS
  • Miscellaneous

    ABOUT US
    • About Us
    • Company News
    • Customers
    • Environmental Commitments
    • Beta Program
    • Year in Review: 2024
    • Live Chat
    • Global Resellers
    • Join our team
  • CONTACT US
  • HOME
  • LICENSING
    • Licensing
    • EULA
    • Support & Update Extensions
    • License Upgrades
    • How to Use License Keys

    • Start Free Trial
  • DEMOS
    • Code Examples
    • Book a Live Demo
  • DOCS
    • Get Started
    • Tutorials
    • How-Tos
    • Troubleshooting
    • Product Updates

    • API Reference  
Message icon
Skip to footer content
IronWord Code Example
Document Structure
Read & Edit Word
  • Create Empty Word Document
  • Create DOCX From Text
  • Edit Text
  • Log Object Tree
Add Paragraphs
  • Add Paragraph
  • Add Image
  • Add List
Add Tables
  • Add Table
Document Elements
Add TextRuns
  • Add Text
  • Add Style Text
  • Add Glow Effect
  • Add Shadow Effect
  • Add Text Outline
  • Add Reflection Effect
  • Add Gradient Effect
Add List
using IronWord;
using IronWord.Models;

// Create Word doc
WordDocument doc = new WordDocument();

// Create textrun
TextContent textRun = new TextContent();
textRun.Text = "sample text";

// Create paragraph
Paragraph paragraph = new Paragraph();
paragraph.AddText(textRun);

// Create list
ListItem listItem = new ListItem(paragraph);

// Create text list
MultiLevelTextList textList = new MultiLevelTextList();
textList.AddItem(listItem);
textList.AddItem(listItem);
textList.AddItem(listItem);
textList.AddItem(listItem);

// Add text list
doc.AddMultiLevelTextList(textList);

// Export docx
doc.SaveAs("document.docx");
Imports IronWord
Imports IronWord.Models

' Create Word doc
Private doc As New WordDocument()

' Create textrun
Private textRun As New TextContent()
textRun.Text = "sample text"

' Create paragraph
Dim paragraph As New Paragraph()
paragraph.AddText(textRun)

' Create list
Dim listItem As New ListItem(paragraph)

' Create text list
Dim textList As New MultiLevelTextList()
textList.AddItem(listItem)
textList.AddItem(listItem)
textList.AddItem(listItem)
textList.AddItem(listItem)

' Add text list
doc.AddMultiLevelTextList(textList)

' Export docx
doc.SaveAs("document.docx")
Install-Package IronWord

Add List

This example showcases the straightforward creation of a structured Word document with a multi-level list using the IronWord library in C#.

Related Docs Links

Report an Issue on this page
Try IronWord for Free
Get Set Up in 5 Minutes
Icon Lightbulb related to 
									Add List
C# NuGet Library for PDF
Install with NuGet
Version: 2025.6
Install-Package IronWord
nuget.org/packages/IronWord/
  1. In Solution Explorer, right-click References, Manage NuGet Packages
  2. Select Browse and search "IronWord"
  3. Select the package and install
Licenses from $749

Have a question? Get in touch with our development team.

15 1000 1
Nuget Logo
Now you've installed with Nuget
Your browser is now downloading IronWord

Next step: Start free 30-day Trial

No credit card required

  • Test in a live environment
  • Fully-functional product
  • 24/5 technical support
Get your free 30-day Trial Key instantly.
Thank you.
If you'd like to speak to our licensing team:

badge_greencheck_in_yellowcircle
The trial form was submitted
successfully.

Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com

Schedule a call
Have a question? Get in touch with our development team.
No credit card or account creation required
15 1000 1
Nuget Logo
Now you've installed with Nuget
Your browser is now downloading IronWord

Next step: Start free 30-day Trial

No credit card required

  • Test in a live environment
  • Fully-functional product
  • 24/5 technical support
Thank you.
View your license options:
Thank you.
If you'd like to speak to our licensing team:
View Licensing
Schedule a call
Have a question? Get in touch with our development team.
Have a question? Get in touch with our development team.
ironword_for_dotnet

Get started for FREE

No credit card required

Test in a live environment

Test in production without watermarks.
Works wherever you need it to.

bullet_test
Fully-functional product

Get 30 days of fully functional product.
Have it up and running in minutes.

bullet_calendar
24/5 technical support

Full access to our support engineering team during your product trial

bullet_support
Support Team Member 6 related to 
									Add List									Support Team Member 14 related to 
									Add List									Support Team Member 4 related to 
									Add List									Support Team Member 2 related to 
									Add List
ironword_for_dotnet
Get your free 30-day Trial Key instantly.

bullet_checkedNo credit card or account creation required

badge_greencheck_in_yellowcircle
The trial form was submitted
successfully.

Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com

Trusted by Millions of Engineers Worldwide
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
ironword_for_dotnet

Get started for FREE

No credit card required

Test in a live environment

Test in production without watermarks.
Works wherever you need it to.

bullet_test
Fully-functional product

Get 30 days of fully functional product.
Have it up and running in minutes.

bullet_calendar
24/5 technical support

Full access to our support engineering team during your product trial

bullet_support
Support Team Member 6 related to 
									Add List									Support Team Member 14 related to 
									Add List									Support Team Member 4 related to 
									Add List									Support Team Member 2 related to 
									Add List
ironword_for_dotnet
Get your free 30-day Trial Key instantly.
Install with NuGet
View Licensing

Licenses from $749. Have a question? Get in touch.

Trusted by Millions of Engineers Worldwide
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
IronWord
Book Free Live Demo

Book a 30-minute, personal demo.

No contract, no card details, no commitments.

Iron Software Product Demo Team
Here's what to expect:
  • A live demo of our product and its key features
  • Get project specific feature recommendations
  • All your questions are answered to make sure you have all the information you need.
    (No commitment whatsoever.)
CHOOSE TIME
YOUR INFO
Book your free Live Demo
Booking Badge related to 
									Add List

Trusted by Over 2 Million Engineers Worldwide

Iron Software's customer logos
Experience the full power of IronWord Start Free Trial
Logo 1 Percent related to 
									Add List
Textlogo Iron Suite related to 
									Add List

IronWORD
is a part of IRONSUITE

10 .NET API products for your office documents

Get 10 products for the price of 2   Start Free Trial

Product Links

  • Icon Hash related to Product Links
    ironpdf_logo
    - Create, read, and edit PDFs. HTML to PDF for .NET.
  • Icon Hash related to Product Links
    ironword_logo
    - Edit DOCX Word Files. No Office Interop required.
  • Icon Hash related to Product Links
    ironxl_logo
    - Edit Excel & CSV files. No Office Interop required.
  • Icon Hash related to Product Links
    ironppt_logo
    - Create, read, and edit presentations. No Office Interop required.
  • Icon Hash related to Product Links
    ironocr_logo
    - OCR (extract text from images) in 125 languages.
  • Icon Hash related to Product Links
    ironbarcode_logo
    - Read and write QR & Barcodes.
  • Icon Hash related to Product Links
    ironqr_logo
    - Read and write QR codes.
  • Icon Hash related to Product Links
    ironzip_logo
    - Zip and unzip archives.
  • Icon Hash related to Product Links
    ironprint_logo
    - Print documents in .NET applications.
  • Icon Hash related to Product Links
    ironwebscraper_logo
    - Scrape structured data from websites.
IronWord for .NET

When you need to create, edit, and format Word documents, fast.

Documentation

  • Code Examples
  • How-Tos
  • API Reference
  • Blog
  • Product Brochure

Tutorials

  • Get Started

Licensing

  • Buy a License
  • Find a Reseller
  • License Upgrades
  • Product Update Renewals
  • How to Use License Keys
  • EULA

Try IronWord Free

  • Download on NuGet
  • Download DLL

  • Start Free Trial
  1. IronWord
  2. Code Examples
  3. Add List
Back to top

Global Navigation Menu

Company Logo and Address

Iron Software
205 N. Michigan Ave. Chicago, IL 60601 USA +1 (312) 500-3060

Main Navigation Links

  • About Us
  • News
  • Customers
  • Careers
  • Academy
  • Webinars
  • Customer HUB Login
  • Contact Us
    • English
    • Español
    • Deutsch
    • Français
    • 日本語
    • 简体中文
    • 繁體中文

Social Media Links

  • Github related to Social Media Links
  • Youtube related to Social Media Links
  • Twitter X related to Social Media Links
  • Facebook related to Social Media Links
  • Linkedin related to Social Media Links
Slack Icon related to Social Media Links Join Iron Slack

Supporting Teamseas

Legal Information

Copyright © Iron Software 2013-2025

  • Terms
  • Privacy
  • Cookie