I am trying to use Powershell and the itextsharp dll to write a script to 
convert a lot of text documents into PDF.  I need to be able to create tables 
in the PDFs.  I can create documents, add text to them, but I cannot figure out 
how to create tables.  Looking at the assembly, looking for public types that 
have the word table in them gives me:


Name                                                                            
                                       
----                                                                            
                                       
CmsAttributeTableGenerator                                                      
                                       
DefaultSignedAttributeTableGenerator                                            
                                       
DerPrintableString                                                              
                                       
IPdfPTableEvent                                                                 
                                       
IIndentable                                                                     
                                       
TableWrapper                                                                    
                                       
LZWStringTable                                                                  
                                       
Tables64kGcmMultiplier                                                          
                                       
DefaultAuthenticatedAttributeTableGenerator                                     
                                       
WritableDirectElement                                                           
                                       
LongHashtable                                                                   
                                       
IPdfPTableEventSplit                                                            
                                       
PdfPTableEventForwarder                                                         
                                       
SimpleAttributeTableGenerator                                                   
                                       
Tables1kGcmExponentiator                                                        
                                       
Tables8kGcmMultiplier                                                           
                                       
CmsAttributeTableParameter                                                      
                                       
AttributeTable                                                                  
                                       
CmsAttributeTableGenerationException                                            
                                       
PdfPTable                                                                       
                                       
Exportable                                                                      
                                       
IntHashtable                                                                    
                                       
AttributeTable                                                                  
                                       

None is the same as the table class, as documented in:

http://www.afterlogic.com/mailbee-net/docs-itextsharp/Index.html

When I try to use Powershell to create a table object, like:

new-object itextsharp.text.table -argumentlist 2

or

new-object itextsharp.text.pdfptable -argumentlist 2


or something - to get a two-column table, I just get the error:

Cannot find type [itextsharp.text.table]: make sure the assembly containing 
this type is loaded.

I wonder if anyone can help.

jj

John Thayer Jensen,
System Administrator, Digital Services,
The University of Auckland Business School

Room 260-4136, 12 Grafton Road

DDI: +64 9 923-7543
mobile: +64 21 833-586
quickdial: 60001 
FAX: +64 9 373-7696



------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to