Hi,

When i try to export my gridview to pdf (vb.net),some turkish characters like 
İŞĞÜ are missing.I must do something like that:

 

Dim sr As New StringReader((sw.ToString))

Dim pdfDoc As New Document(PageSize.A4, 10.0F, 10.0F, 10.0F, 0.0F)

Dim htmlparser As New HTMLWorker(pdfDoc)

PdfWriter.GetInstance(pdfDoc, Response.OutputStream)

Dim arial As BaseFont = BaseFont.CreateFont("C:\windows1\fonts\arial.ttf", 
BaseFont.IDENTITY_H, BaseFont.EMBEDDED)

Dim font As New Font(arial, 8, font.NORMAL)

pdfDoc.Open()

htmlparser.Parse(sr,font)

is there a way of doing this?

How can i export the gridview with turkish chars??

 

Thanks.



htmlparser.Parse(sr)
 
                                          
_________________________________________________________________
Windows Live Hotmail: Arkadaşlarınız Facebook'taki güncellemelerinizi doğrudan 
Hotmail®'den alır.
http://www.microsoft.com/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:tr-tr:SI_SB_4:092009
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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