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

pdf table cell padding

Thread ID:

Created:

Updated:

Platform:

Replies:

104580 Jul 31,2012 04:02 AM Aug 3,2012 06:00 AM WPF 1
loading
Tags: PDF
Paolo Cantini
Asked On July 31, 2012 04:02 AM

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 06:00 AM

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.

Regards
Geetha

CONFIRMATION

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.

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.

;