The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I am appending content to paragraph, but it is continuosly appending, not going to next line, thougth I used . Is there any solution?
Thanks,
Nava.
ADAdministrator Syncfusion Team July 14, 2006 03:47 PM UTC
Nava,
I''m not sure if this is exactly what you want - but it will allow you to print to the next line.
PdfDoc as New PDFLogicDocument
PdfSection as Isection
PdfParagrph as IParagraph
PdfSection = PdfDoc.Addsection
PdfParagrph = PdfSection.AddParagraph
PdfParagrph.AppendText("Line 1")
PdfParagrph = PdfSection.AddParagraph
PdfParagrph.AppendText("Line 2")
PdfDoc.Save("LineTest.pdf")
This example is for flow model - but the idea is the same for grid model.
>Hi,
> I am appending content to paragraph, but it is continuosly appending, not going to next line, thougth I used . Is there any solution?
>
>Thanks,
>Nava.
ADAdministrator Syncfusion Team July 14, 2006 04:34 PM UTC
While the above will work I believe this is the way that you are supposed to do it.
PdfParagrph.AppendText("Line 1").CharacterFormat.LineBreak = True
PdfParagrph.AppendText("Line 1").CharacterFormat.LineBreak = True
or
Dim text as ITextRange = PdfParagrph.AppendText("Line 1")
text.CharacterFormat.LineBreak = True
-Bill
ADAdministrator Syncfusion Team July 17, 2006 06:57 AM UTC