In exactly the same way you do in Java. "new Document();"
If you want to create a PDF, you tie it to a PdfWriter. You should be
able to use the Java source almost line-for-line. See if you can get it
working with no changes, and go from there.
--Mark Storer
Senior Software Engineer
Cardiff.com
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
________________________________
From: Michael Hoagland [mailto:[email protected]]
Sent: Tuesday, June 29, 2010 8:19 AM
To: [email protected]
Subject: [iText-questions] C# PdfDocument Object
In reading the examples in the book, a new document is made by simply
calling new Document() in java. However, in C# if I do PdfDocument
document = new PdfDocument() I get a compile time error stating that
PdfDocument has no constructors. How do I make a new blank document
object and conversely how do I fill a document object?
Regards,
Michael
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.830 / Virus Database: 271.1.1/2968 - Release Date: 06/28/10
11:35:00
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
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/