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.

align text in pdf grid cell

Thread ID:





119245 May 28,2015 11:23 AM Jan 10,2017 12:50 AM Windows Forms 3
Tags: PDF
Asked On May 28, 2015 11:23 AM

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

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 05:58 PM

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 12:50 AM

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.

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.