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
close icon

Bold certain cells in PDFLightTable

Is there a way to bold certain cells in PDFLightTable?

For example, if I have the following table:

a1 a2 a3
b1 b2 b3
c1 c2 c3

I only wanted to bold b1 and c1.


3 Replies

PH Praveenkumar H Syncfusion Team February 19, 2014 05:56 AM UTC

Hi Eric,

Thank you for using syncfuion products,
Yes we can bold the text in the particular cell.
We have attached sample project for your reference.

With Regards,

Attachment: PDF_Light_table_9b039aca.zip

EY Eric Yang February 21, 2014 07:59 PM UTC

Hi Praveenkumar,

I tested out the codes you gave me. It looks like you just "draw" another layer of the string on top of existing string value. And you didn't use the "font2" you declared in BeginCellLayout. Although the BeginCellLayout didn't work the way I wanted, you gave me the idea to use EndCellLayout instead. I'm able to cover up the existing value with a rectangle and "re-draw" the value with different font style. I'm able to create different style for individual cell now.



PH Praveenkumar H Syncfusion Team February 26, 2014 04:08 AM UTC

Hi Eric,

Thank you for your update,

We are happy to hear that you have found the solution to apply different style for individual cell.

Please let us know if you need further assistance.

With Regards,

Live Chat Icon For mobile
Up arrow icon