We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

adding text to next line of paragraph

Thread ID:

Created:

Updated:

Platform:

Replies:

46535 Jul 14,2006 12:31 PM UTC Jul 17,2006 06:57 AM UTC Windows Forms 3
loading
Tags: PDF
Nava
Asked On July 14, 2006 12:31 PM UTC

Hi, I am appending content to paragraph, but it is continuosly appending, not going to next line, thougth I used \n. Is there any solution? Thanks, Nava.

Administrator [Syncfusion]
Replied On 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 \n. Is there any solution? > >Thanks, >Nava.

Administrator [Syncfusion]
Replied On 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

Administrator [Syncfusion]
Replied On July 17, 2006 06:57 AM UTC

Thanks Bill, It was working fine. Regards, Nava

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;