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

Free Support Forum - aspose.com

builder.Writeln() adds extra line

builder.Writeln() adds extra line, how to remove, thanks

Hi

Thanks for inquiry. I think that in your case you can try using builder.Write(“ ”). Hope this helps.

Best regards.

to add HTML table in side bookmark has to use builder.Writeln();

builder.MoveTo(bookmark.BookmarkStart.NextSibling);

builder.Writeln();

but also add extra line

i tried builder.Write(“ ”) html table is outside any help?

Hi

I tried the following code and all works fine.

builder.MoveTo(doc.Range.Bookmarks["myBookmark"].BookmarkStart.NextSibling);

builder.Write(" ");

string html = "

Test Test
Test Test
";

//Insert HTML

builder.InsertHtml(html);

Best regards.