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.

How to put multi-line table header rows

Thread ID:

Created:

Updated:

Platform:

Replies:

79700 Feb 22,2009 10:09 PM Feb 22,2009 10:26 PM Windows Forms 1
loading
Tags: PDF
Chris Dahl
Asked On February 22, 2009 10:09 PM

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 22, 2009 10:26 PM

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.


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.

;