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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to insert an image in the PdfGrid?

Platform: WinForms |
Control: PDF
Tags: grid, image, pdf

You can insert an image into the PdfGrid by using the BackgroundImage property in the Cell style.

You can refer to the following code example to insert an image into the Grid.

C#

Sample Link

http://www.syncfusion.com/downloads/support/directtrac/general/PdfGridSample-2137715442.zip

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment
Comments
Azoof
Feb 12, 2022

How do I add an image that spans multiple cells?

Reply
Gowthamraj Kumar [Syncfusion]
Feb 14, 2022

Hi Azoof,

We can add an image in multiple span cells using our PDF library. We have created a sample to add an image in a column span using the ColumnSpan property of PdfGridCell. We have attached the sample and output document for your reference, please try the sample on your end and let us know if it satisfies your requirement or not.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/PdfSample-961014225

Output: https://www.syncfusion.com/downloads/support/directtrac/general/pd/Output-1181668159

Please refer to the below link for more information about cell spanning,

UG: https://help.syncfusion.com/file-formats/pdf/working-with-tables#row-and-column-spanning

Please let us know if you need any further assistance with this.

Regards, Gowthamraj K

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon 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.Close Icon

Live Chat Icon For mobile