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

align text in pdf grid cell

Thread ID:





119245 May 28,2015 03:23 PM UTC Jan 10,2017 05:50 AM UTC WinForms 3
Tags: PDF
Asked On May 28, 2015 03:23 PM UTC

Is there a way to align certain text at top of the cell and certain text at the bottom of a cell?

Abirami Selvan [Syncfusion]
Replied On June 1, 2015 05:57 AM UTC

Hi Jb,

Thank you for using syncfusion product.

We don’t have native support to align the certain texts at top and bottom of the grid cell. We have  logged this feature in our data base. It can be tracked through our following Features Management System:

However, We have created the workaround solution in below link :

Please try this and let us know if it suits your requirement.


Ewen Wallace
Replied On January 9, 2017 10:58 PM UTC

This worked for me...

PdfStringFormat centredText = new PdfStringFormat()
                                              LineAlignment = PdfVerticalAlignment.Middle,
                                              Alignment =  PdfTextAlignment.Center


thisNumberRow.Cells[digit].StringFormat = centredText;

Chinnu Muniyappan [Syncfusion]
Replied On January 10, 2017 05:50 AM UTC

Hi Ewen, 
Thank you for your update, we will publish a KB article to achieve this query. 


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

or the page will be automatically redirected to 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