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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to add Paragraphs in the PDFPage of PDFDocument Class

Thread ID:





97885 Jan 18,2011 09:31 AM UTC Jan 19,2011 09:12 AM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Asked On January 18, 2011 09:31 AM UTC


I am trying to add paragraphs in the PDFPage like what we use to do in the tallPDF components example code mentioned below:

Dim currentSection As TallComponents.PDF.Layout.Section = section

I am unable to find the similar classes or way in the Syncfusion classes.

The above code is provide very simple way to add textParagraph directly to pdfpage without worrying the location. Even there are drawing, area, etc....classes.

Any body help us to find the similar classes in the syncfusion or way to achieve the same features in the Syncfusion PDF components.

Looking you earliest response.

Jyotsna Jain

Selvakumar P [Syncfusion]
Replied On January 19, 2011 09:12 AM UTC

Hi Shyam,

Thank you for using Syncfusion Products.

In order to add a paragraph to the document using our library, we need to get the paragraph as a string and have to layout the paragraph using TextLayoutElement class and TextLayoutResult class. Also, we find the location of the next paragraph from the previous paragraph using TextLayoutResult class.

We have attached the sample in which we have laid out paragraphs as such. Please refer to the link below and let us know if you have any questions.




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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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