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

How to put multi-line table header rows

Thread ID:





79700 Feb 23,2009 03:09 AM UTC Feb 23,2009 03:26 AM UTC Windows Forms 1
Tags: PDF
Chris Dahl
Asked On February 23, 2009 03:09 AM UTC

Is it possible to have a multi-line header in a PdfLightTable? I have seen the column heading= texts automatically split over multiple rows if I shrink the width lower than the heading text width, but can I control this?

Chris Dahl
Replied On February 23, 2009 03:26 AM UTC

I found out how to do this! With the table's Style.HeaderSource propery set to PdfHeaderSOurce.Rows (so that the first data row is treated as the header), I set the value of the first row with the "\n" newline character(s) in the text value.


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