We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

ListForm in word by c#

iam arapic and i need to creat a list for (ا,ب,ج)
not (A,B,C) i found it in 2nd list but i cant do

[ pic in attachment ]

[c#] code Iam uesd

DocumentBuilder builder = new DocumentBuilder();//refrance to use in my project

builder.ListFormat.ApplyNumberDefault();//ApplyNumberDefault that mean 2nd list but i cant change

builder.ListFormat.ListIndent(); // Indent the list level again
builder.ListFormat.ListOutdent(); // Outdent ~~~~~~~~~~~~~~~~~

builder.Writeln(“Aspose.Words main advantages are:”); // for write
builder.Writeln();// for next line

builder.ListFormat.RemoveNumbers();// End the numbered list.

Hi Ahmed,

Thanks for your inquiry. We are working over your query and will get back to you soon.

Best regards,

Thank ,
Awais Hafeez

I,am will wait you -

Hi Ahmed,

Thanks for being patient. Please use the following code to format paragraphs with desired numbering style:

Document doc = new Document();

// Apply numbering to styles.

Aspose.Words.Lists.List list = doc.Lists.Add(ListTemplate.NumberArabicDot);

// Here you can configure each level as you need.

list.ListLevels[0].NumberFormat = "\x0000.";

// Set needed style

list.ListLevels[0].NumberStyle = NumberStyle.Arabic1;

DocumentBuilder builder = new DocumentBuilder(doc);


builder.ListFormat.List = list;

builder.ListFormat.ListLevelNumber = 0;






doc.Save(MyDir + @"15.7.0.docx");

I hope, this helps.

Best regards,

thank u i go to try