Borderless table
5 Replies
SS
Sri Subhashini M
Syncfusion Team
July 21, 2008 04:52 AM UTC
Hi,
Thank you for your interest in Essential PDF.
We can create borderless table by assigning the cell color as white. Kindly use the below code snippet to create borderless table.
// Creating pen style
PdfPen borderPen = new PdfPen(Color.White);
// Assigning the cell style as penstyle
PdfCellStyle defStyle = new PdfCellStyle();
defStyle.BorderPen = borderPen;
// Assigning the penstyle as default
table.Style.DefaultStyle = defStyle;
Please look into the below sample from the specified location and let me know if this helps.
http://www.syncfusion.com/support/user/uploads/Sample_a8e72c1e.zip
Regards,
Suba
Thank you for your interest in Essential PDF.
We can create borderless table by assigning the cell color as white. Kindly use the below code snippet to create borderless table.
// Creating pen style
PdfPen borderPen = new PdfPen(Color.White);
// Assigning the cell style as penstyle
PdfCellStyle defStyle = new PdfCellStyle();
defStyle.BorderPen = borderPen;
// Assigning the penstyle as default
table.Style.DefaultStyle = defStyle;
Please look into the below sample from the specified location and let me know if this helps.
http://www.syncfusion.com/support/user/uploads/Sample_a8e72c1e.zip
Regards,
Suba
DV
Dennis van der Stelt
July 25, 2008 07:13 AM UTC
That's not really a solution, it's a work-around! I'm loading a .jpg in the background which has a white/green background. So I now have to make sure the tables aren't drawn over the green background or you'll see white borders.
SS
Sri Subhashini M
Syncfusion Team
July 25, 2008 12:05 PM UTC
Hi,
Sorry for the inconvenience caused.
Table Border`s Transparent color is not working properly.
The issue mentioned here is suspected to be a defect and we have sent this to our development team for more analysis. We will update you once we get back from our development team.
Thanks for your patience.
Regards,
Suba
Sorry for the inconvenience caused.
Table Border`s Transparent color is not working properly.
The issue mentioned here is suspected to be a defect and we have sent this to our development team for more analysis. We will update you once we get back from our development team.
Thanks for your patience.
Regards,
Suba
SS
Sri Subhashini M
Syncfusion Team
July 29, 2008 10:15 AM UTC
Hi Dennis,
Sorry for the delay in getting back with you.
Could you please try to set the BorderPen as Transparent color in order to draw borderless table. Kindly look into the code snippet to draw the border less table,
PdfCellStyle style = new PdfCellStyle();
style.BorderPen = new PdfPen(PdfBrushes.Transparent);
table2.Style.DefaultStyle = style;
Please look into the sample and let me know if this helps,
http://www.syncfusion.com/support/user/uploads/Sample_2d266bba.zip
Regards,
Suba
Sorry for the delay in getting back with you.
Could you please try to set the BorderPen as Transparent color in order to draw borderless table. Kindly look into the code snippet to draw the border less table,
PdfCellStyle style = new PdfCellStyle();
style.BorderPen = new PdfPen(PdfBrushes.Transparent);
table2.Style.DefaultStyle = style;
Please look into the sample and let me know if this helps,
http://www.syncfusion.com/support/user/uploads/Sample_2d266bba.zip
Regards,
Suba
SS
Sri Subhashini M
Syncfusion Team
July 30, 2008 04:25 AM UTC
Hi Dennis,
Table Border`s Transparent color is not working properly.
This mentioned issue has been fixed. The fix for this defect is available in our next week Development build.
Please refer to the below link for the weekly development build updates.
http://www.syncfusion.com/downloads/product/build.aspx
Regards,
Suba
Table Border`s Transparent color is not working properly.
This mentioned issue has been fixed. The fix for this defect is available in our next week Development build.
Please refer to the below link for the weekly development build updates.
http://www.syncfusion.com/downloads/product/build.aspx
Regards,
Suba
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
DV Dennis van der Stelt
- Jul 18, 2008 01:42 PM UTC
- Jul 30, 2008 04:25 AM UTC