> Date: Thu, 26 Aug 2010 08:14:20 +0200
> From: i...@1t3xt.info
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] C# Documentation Mismatch
> > Second, I am using the Java example code as a starting point and then
> > matching what I can in the source code for the C# DLL.
> >
> > There are inconsistencies, as to be expected, but some of these do not
> > make any sense.
> >
> > A specific example:
> >
> > PdfPCell.setBorder(Rectangle.NO_BORDER)
> > There is no such property or function in the C# DLL code.
> > I need to have a PdfPCell that has no border, but cannot change the
> > value of the cell nor of its Rectangle base.
>
> cell.Border = PdfPCell.NO_BORDER;

Or:

cell.Border = Rectangle.NO_BORDER;

To the OP:

You can learn a lot by browsing the source code, it's easy to find that 
Rectangle.NO_BORDER is indeed supported, see line 81:

http://itextsharp.svn.sourceforge.net/viewvc/itextsharp/trunk/src/core/iTextSharp/text/Rectangle.cs?revision=121&view=markup

You have to remember Java uses get/set methods, while C# uses properties. 

                                          
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to