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

Image in PdfGrid

Is it possibile print/draw images in a PdfGrid?

I am able to print only string!


3 Replies

PH Praveenkumar H Syncfusion Team April 27, 2015 09:56 AM UTC

Hi Ivan,

Thank you for using syncfusion products,

We can set the image as a background to the Pdf Grid cell.

Please refer the below link for more information.


Please let us know if you need further assistance.

With Regards,

IV Ivan April 30, 2015 07:45 AM UTC

Thanks for the replay!
Is this the only way to insert an image (logo) into a pdfgrid?
I tried, but the result is a distorted image. 
I can't fit the background image in the right way.
How can I do this?


KC Karthikeyan Chandrasekar Syncfusion Team May 4, 2015 12:36 PM UTC

Hi Ivan,
Thank you for contacting Syncfusion Support.

We can position the picture in Background by using the PdfGridImagePosition property. Please refer the attached code snippet.
Code Snippet:

pdfGrid.Rows[0].Cells[0].Style.BackgroundImage = new PdfBitmap(imagePath);

pdfGrid.Rows[0].Cells[0].ImagePosition = PdfGridImagePosition.Center;


Live Chat Icon For mobile
Up arrow icon