[iText-questions] Images are not come perfectly in pdf file while exporting html to pdf.

2012-11-27 Thread suprithi
hello, I want to convert from html to pdf with images.Images are showing perfect in html but they are not in pdf.The pdf file will show by clicking a button. My code is here: protected void btnExport_Click(object sender, EventArgs e) { Response.ContentType = "application/pdf";

[iText-questions] Images are not come perfectly in pdf file while exporting html to pdf.

2012-11-27 Thread suprithi
hello, I want to convert from html to pdf with images.Images are showing perfect in html but they are not in pdf.The pdf file will show by clicking a button. My code is here: protected void btnExport_Click(object sender, EventArgs e) { Response.ContentType = "application/pdf";

[iText-questions] PdfpTable + page break

2012-11-27 Thread Yoorch
Hi, I have some content generated auotomatically to build a Pdf. To fit the disign and to handle the size and the page breaks I have had created one table with 3 tables inside. One table(1) -->first row (TITLE) --> second row --> table(2) for content --> two columns

[iText-questions] [SPAM] Re: Why my itextsharp creat pdf file very large?

2012-11-27 Thread mkl
youyi1997 wrote > Could sent the "iText in Action" to me? iText in Action, 2nd edition -- View this message in context: http://itext-general.2136553.n4.nabble.com/Why-my-itextsharp-creat-pdf-file-very-large-tp4656998p4657007.html Sent from the iText - Gene

Re: [iText-questions] [SPAM] Re: Why my itextsharp creat pdf file very large?

2012-11-27 Thread Paulo Soares
As the font is being used in the context of a form it is not being subset because you may need to fill the form later and all the font must be available. The form is being flattened at the end so the best way to deal with this is to get the field locations, delete the fields, and use ColumnText to

Re: [iText-questions] Why my itextsharp creat pdf file very large?

2012-11-27 Thread youyi1997
getFont() as below     private BaseFont getFont()     {     BaseFont font = BaseFont.CreateFont(@"c:\WINDOWS\Fonts\simsun.ttc,1", BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED);     return font;   //   Return   the   base   font   to   create   the   pdf   document

Re: [iText-questions] Why my itextsharp creat pdf file very large?

2012-11-27 Thread youyi1997
this is my code, reader = new PdfReader(this.TEMPLATE_NAME); file = new FileStream(CREAT_TEMP_FILE_PATH + sname, FileMode.OpenOrCreate); stamp = new PdfStamper(reader, file); BaseFon

[iText-questions] [SPAM] Re: Why my itextsharp creat pdf file very large?

2012-11-27 Thread mkl
youyi1997, youyi1997 wrote > getFont() as below > > private BaseFont getFont() > { > BaseFont font = > BaseFont.CreateFont(@"c:\WINDOWS\Fonts\simsun.ttc,1", BaseFont.IDENTITY_H, > BaseFont.NOT_EMBEDDED); > return font; // Return the base font to create the pdf > d

Re: [iText-questions] Prefilled text in editable PdfFormField is not visible

2012-11-27 Thread Roman Borik
Hello Michael. Thank you for your reply. I understand what you mean, but I don't know how to set both values and appearance at once. I am "solved" it by reopening PDF file again and values I have set additionally. I know that it is probably not correct solution but for now it is acceptable for

[iText-questions] [SPAM] Re: Why my itextsharp creat pdf file very large?

2012-11-27 Thread mkl
youyi1997, youyi1997 wrote > this is my code, > [...] > BaseFont baseFont = this.getFont(); > [...] > template(bmdjb2013_v2.pdf 448KB) and create pdf 4.96 MB Bruno mentioned that the problem might be connected to the font. Thus, you might help by not hiding the font object generation in that