Click here to Skip to main content
13,091,920 members (61,004 online)
Rate this:
Please Sign up or sign in to vote.
See more:
i used itextsharp to create pdf in c#.
i uploaded the image in a table cell but border line is getting displayed.
i dont want the border to be shown.
i gave cell.border=0 and image.border=0 but still it displays border.
But for text in table cell it works. Only for image its not working.
Suggest me?
Posted 25-Feb-13 4:21am
ryanb31 25-Feb-13 10:24am
I have not used itextsharp before but the first thing I would do is check the documentation. Have you done that?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

table.DefaultCell.Border = 0;// Rectangle.BOX;
table.DefaultCell.BorderColor = Color.GRAY;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 16 Sep 2015
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100