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

Free Support Forum - aspose.com

I want to apply the property(14 pt, Bold, Dark Blue, Small caps) for List Bullet 2 (list level 2)

I want to apply the property(14 pt, Bold, Dark Blue, Small caps) for List Bullet 2 (list level 2). Kindly help me asap.
Please find the below mentioned input and expected output word document.
Expected_Output_Amphibian Names.docx (14.3 KB)
Input_Amphibian Names.docx (16.5 KB)

@Princeshivananjappa You could use the following code:

List<Paragraph> listItems = doc.GetChildNodes(NodeType.Paragraph, true).Cast<Paragraph>().Where(p => p.IsListItem && p.ListFormat.ListLevelNumber == 1).ToList();

foreach (Paragraph p in listItems)
{
    // Chnage fonts of the Run nodes inside the paragraph.
    foreach (Run r in p.Runs)
    {
        r.Font.Size = 14;
        r.Font.Bold = true;
        r.Font.Color = Color.DarkBlue;
        r.Font.SmallCaps = true;
    }
}