Hi Team ,
Based on the symbol I am applying list properties. it’s affecting but it’s not affecting Symbols.
I used mentioned code kindly help me asap.
Pleased find the below mentioned input and expected output.
Expected_output_a wide range of management.docx (14.1 KB)
input-123.docx (14.1 KB)
List<Paragraph> listItems = doc.GetChildNodes(NodeType.Paragraph, true).Cast<Paragraph>().Where(p => p.IsListItem && p.ListFormat.ListLevel.NumberStyle == NumberStyle.Bullet && (p.ListFormat.ListLevel.NumberFormat == "\x006f")).ToList();
foreach (Paragraph listBullet in listItems)
{
CultureInfo info = new CultureInfo("en-US");
doc.Styles.DefaultFont.LocaleId = info.LCID;
listBullet.ParagraphBreakFont.Size = 11;
listBullet.ParagraphBreakFont.Name = "Segoe UI";
listBullet.ParagraphFormat.FirstLineIndent = ConvertUtil.InchToPoint(-0.25);
listBullet.ParagraphFormat.LeftIndent = ConvertUtil.InchToPoint(0.5) - listBullet.ParagraphFormat.FirstLineIndent;
listBullet.ParagraphFormat.LineSpacingRule = LineSpacingRule.Multiple;
listBullet.ParagraphFormat.LineSpacing = 12;
}