목록 추가
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");
NuGet Download
PM > Install-Package IronWord
목록 추가

목록 추가

GitHub에서 보기

시작할 준비 되셨나요?

Nuget Downloads 61,140버전:2026.11방금 출시