Hi Support,
I am having issue in bullet list formatting, its first row alignment is incorrect with extra space.
Please suggest to fix it.
Thanks
This message was posted using Email2Forum by Tilal Ahmad Sana.
Hi Support,
I am having issue in bullet list formatting, its first row alignment is incorrect with extra space.
Please suggest to fix it.
Thanks
This message was posted using Email2Forum by Tilal Ahmad Sana.
Hi Tilal ,
This is Screen shot I want to Share with you.
The first line of list is issue with a extra space
The code for generating it is
Document doc = new Document(TempPath);
string[] ScopeList = { };
if (objTemp.Scope != null)
ScopeList = objTemp.Scope.Split('^');
DocumentBuilder builder = new DocumentBuilder(doc);
builder.MoveToMergeField("Scope");
builder.ListFormat.ApplyBulletDefault();
if (ScopeList.Length != 0)
for (int count = 0; count < ScopeList.Length; count++)
{
var ug = ScopeList[count];
if (ScopeList[count] != "")
{
builder.CurrentParagraph.ParagraphFormat.LineSpacingRule = LineSpacingRule.AtLeast;
builder.CurrentParagraph.ParagraphFormat.LineSpacing = 16;
builder.CurrentParagraph.ParagraphFormat.SpaceAfter = 0;
builder.CurrentParagraph.ParagraphFormat.Alignment = ParagraphAlignment.Left;
builder.Write(ScopeList[count]);
}
if (count < ScopeList.Length - 2)
{
builder.Writeln();
}
}
Hi Mohit,
Thanks for your inquiry. It would be great if you please share following detail for investigation purposes.
Unfortunately, it is difficult to say what the problem is without the Document(s) and simplified application. We need your Document(s) and simple project to reproduce the problem. As soon as you get these pieces of information to us we’ll start our investigation into your issue.