Hi,
I have scenario where I print text on selected bookmarks. I need to append the text with styles when I use bookmarks. Please advise…
In the below example…the bookmark1 should be like
bookmark 2 text 1 bookmark 2 text 2
DocumentBuilder builder = new DocumentBuilder(doc);
builder.MoveToBookmark("bookmark1");
builder.Font.Bold = true;
bodyBuilder.Font.Italic = true;
bodyBuilder.Write("bookmark 2 text 1");
builder.MoveToBookmark("bookmark2");
builder.Font.Bold = true;
bodyBuilder.Write("bookmark 2 text 1");
builder.MoveToBookmark("bookmark1");
builder.Font.Underline= true;
bodyBuilder.Write("bookmark 2 text 2");