public void ListFormatListLevel()
{
//ExStart
//ExFor:ListFormat.ListLevel
//ExSummary:Shows how to modify list formatting of the current list level.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
// Create and apply list formatting to the current paragraph.
builder.ListFormat.List = doc.Lists.Add(ListTemplate.NumberDefault);
// Modify formatting of the current (first) list level.
builder.ListFormat.ListLevel.Font.Bold = true;
builder.Writeln("Item 1");
builder.Writeln("Item 2");
builder.ListFormat.RemoveNumbers();
//ExEnd
}