posts - 198,  comments - 1481,  trackbacks - 6
                BaseFont bf =BaseFont.CreateFont("STSong-Light""UniGB-UCS2-H", BaseFont.NOT_EMBEDDED); 

                Font font1 
=new Font(bf, 12, Font.NORMAL); 
                Paragraph par 
=null
                ChapterAutoNumber charp 
=null
                
for (int i =0; i < 20; i++
                

                    par 
=new Paragraph("中华人民共和国万岁", font1); 
                    charp 
=new ChapterAutoNumber(par); 
                    
// step 4 
                    document.Add(charp); 
                    
//document.NewPage(); 
                }

更多讨论和Demo演示可以到论坛查看:
http://www.steedsoft.com/bbs/viewtopic.php?t=12
posted on 2006-03-21 09:40 RubyPDF 阅读(...) 评论(...) 编辑 收藏