货币符号¥已替换为?转换pdf后 [英] Currency symbol ¥ has replaced by ? after converting pdf
本文介绍了货币符号¥已替换为?转换pdf后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将货币符号设置为¥0.00,但是当我生成报告PDF时,它显示的是¥0.00,而不是¥0.00.
有谁知道如何解决这个问题?
提前谢谢.
(我已使用GIOS pdf.net dll)
代码是
Hi,
I have set my currency symbol to ¥0.00 but when I produce a report PDF it shows ?0.00 instead of ¥0.00.
has anybody any idea how to solve this?
Thanks in advance.
(I have used GIOS pdf.net dll )
and the code is
PdfDocument myPdfDocument=new PdfDocument(PdfDocumentFormat.Letter_8_5x11_Horizontal);
Font FontBold=new Font("Courier New",9,FontStyle.Bold);
PdfTextArea reportTest = new PdfTextArea(FontBold, Color.Black, new PdfArea(myPdfDocument, 50, 20, 750, 50), ContentAlignment.MiddleCenter, "testing Currency is ¥0.00 ");
PdfPage newPdfPage=myPdfDocument.NewPage();
newPdfPage.Add(reportTest);
newPdfPage.SaveToDocument();
myPdfDocument.SaveToFile("Example3.pdf");
推荐答案
只需尝试使用其他字体设置.....
其他 abcpdf 将会是一个很好的第三方工具.
问候
塞巴斯蒂安
just try it with a different font settings.....
Else abcpdf will be a good third party tool for this purpose.
Regards
Sebastian
这篇关于货币符号¥已替换为?转换pdf后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文