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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

pdf table cell padding

Thread ID:





104580 Jul 31,2012 08:02 AM UTC Aug 3,2012 10:00 AM UTC WPF 1
Tags: PDF
Paolo Cantini
Asked On July 31, 2012 08:02 AM UTC

I wish set different cell padding for each cell in a PDF table.

It's possible?

Best regards.

Paolo Cantini.

Geetha M [Syncfusion]
Replied On August 3, 2012 10:00 AM UTC

Hi Paolo,

Thank you for your interest in Syncfusion products.

You can specify padding for all cells in PdfLightTable or PdfGrid using the following code snippet:

// Using PdfLightTable
pdfLightTable.Style.CellPadding = 4;

// Using PdfGrid
// Padding will be applied for all four sides of cells in PdfGrid.
pdfGrid.Style.CellPadding.All = 0.3f;
// Padding will be applied only at the top of all cells in PdfGrid.
pdfGrid.Style.CellPadding.Top = 0.3f;

However, it is not possible to set different padding for each cells. Please let us know if you have any questions.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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