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

Different Fontcolors in one PdfGridCell

Hi,

is it possible to have something like the attachment in one single PdfGridCell?

Thanks
Lars




sample_3fe5f342.zip

3 Replies

GM Geetha M Syncfusion Team August 15, 2011 10:15 AM UTC

Hi Lars,

Thank you for your interest in Syncfusion products.

It is possible to achieve your requirement in PdfLightTable, by drawing the contents as PdfHTMLTextElement. Please refer to the sample placed in the following link:

F100526-21610844.zip

Please try this and let me know if you have any questions.

Regards,
Geetha



LH Lars Hildebrandt August 15, 2011 12:51 PM UTC

Thats fine, but now I have a problem with the FontSize:

element.Font = new PdfTrueTypeFont("myFont.ttf", 9);

in PdfHTMLTextElement looks deffernt to

var font = new PdfTrueTypeFont("myFont.ttf", 9);

in a PdfGrid.

Thanks
Lars



GM Geetha M Syncfusion Team August 17, 2011 12:48 PM UTC

Hi Lars,

Thank you for the details.

I was able to see the problem. Could you please create a new direct-trac incident so that I can update you with further details regaring it?

Please let me know if you have any questions.

Regards,
Geetha


Loader.
Live Chat Icon For mobile
Up arrow icon