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.

adding text to next line of paragraph

Thread ID:

Created:

Updated:

Platform:

Replies:

46535 Jul 14,2006 08:31 AM Jul 17,2006 02:57 AM Windows Forms 3
loading
Tags: PDF
Nava
Asked On July 14, 2006 08:31 AM

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 11:47 AM

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 12:34 PM

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 02:57 AM

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.

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.

;