Hi, I am trying to insert paragraph break but I am not able to achieve, any help is much appreciated.
I am trying using the below code to insert TOA entry.
private void InsertToaEntry(DocumentBuilder builder, int entryCategory, string longCitation, string bookmark, StructuredDocumentTag sdt, CategoryModel model)
{
FieldTA field = null;
if (sdt != null && (sdt.ParentNode as Paragraph) != null)
{
field = (FieldTA)(sdt.ParentNode as Paragraph).InsertField(FieldType.FieldTOAEntry, false, sdt, false);
field.EntryCategory = Convert.ToString(entryCategory);
field.LongCitation = model.FullPartyNameWithBreak;
field.PageRangeBookmarkName = bookmark;
}
}
With the above code, my TOA entry will not have space in between two entries or paragraph break. I am looking for changes to above code that can insert space between entries in TOA.
Regards,
Chetan