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 ]
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.ApplyNumberDefault();
builder.ListFormat.List = list;
builder.ListFormat.ListLevelNumber = 0;
builder.Writeln("Go");
builder.Writeln("Bad");
builder.Writeln("Sad");
builder.Writeln("Lie");
builder.ListFormat.RemoveNumbers();
doc.Save(MyDir + @"15.7.0.docx");
I hope, this helps.
Best regards,
thank u i go to try