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

Free Support Forum - aspose.com

Multiple Paragraph inside single border

Hi team,
My requirement is, I want multiple paragraphs created by DocumentBuilder should be inside single border…but I am getting new box for each Para everytime…

Here is the code I am using

ParagraphFormat paragraphFormat = builder.ParagraphFormat;
paragraphFormat.Alignment = ParagraphAlignment.ThaiDistributed;
paragraphFormat.Borders.LineWidth = 2.5;
paragraphFormat.Borders.LineStyle = LineStyle.Thick;

builder.Writeln("…")

@kotharib2,

Thanks for your inquiry. In your case, we suggest you please create a table with one row and one cell and insert the paragraphs in it.