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. Image for the cookie policy date

PdfLightTable row height

How do I set the row heights and column widths within the PdfLightTable?

Version is 5.2.0.25

Many thanks

4 Replies

JJ Jisha Joy Syncfusion Team October 2, 2007 03:07 AM UTC

Hi Kevin,

Thank you for your interest in Syncfusion Products.

Row height of the PdfLightTable will be resized automatically according to the contents and the column width of the PdfLightTable can be set by using the following code snippets.

table.Columns[0].Width =1;


Please let me know if you have any questions.

Regards,
Jisha


TA Teo Alibrando March 5, 2009 07:07 PM UTC

Hi Jisha,

I use object PdfLightTable. (Sycfusion Version 6.4.0.15)

I would like inactivate the auto resize on the row height.

I would like set the row height and be sure that all row heights are equals. (without taking into account the contents)

Thanks

Téo



BP Bhuvaneswari P Syncfusion Team March 6, 2009 07:25 AM UTC

Hi Teo,

Yes. It’s possible to set the row height of the table using PdfLightTable. Please use MinimalHeight property in BeginRowlayout event to set the custom row height.

Please refer to the below code snippet to do so:

args.MinimalHeight =40f;

Sample reference:
http://www.syncfusion.com/uploads/redirect.aspx?file=TableRowHeight_a1544aa.zip&team=support

Please try this and let us know if this helps you.

Best Regards,
Bhuvana




BP Bhuvaneswari P Syncfusion Team March 6, 2009 08:35 AM UTC

Hi Teo,

Yes. It’s possible to set the row height of the table using PdfLightTable. Please use MinimalHeight property in BeginRowlayout event to set the custom row height.

Please refer to the below code snippet to do so:

args.MinimalHeight =40f;

Sample reference:
http://www.syncfusion.com/uploads/redirect.aspx?file=TableRowHeight_a1544aa.zip&team=support

Please try this and let us know if this helps you.

Best Regards,
Bhuvana



Loader.
Live Chat Icon For mobile
Up arrow icon