在标签控件中显示当前印度货币符号 [英] Display current indian currency symbol in label control

查看:173
本文介绍了在标签控件中显示当前印度货币符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



请告诉我如何在vb.net windows应用程序中添加当前卢比符号。

i已经下载了。 ttf文件并粘贴在字体文件夹中..



i我使用Rupee.foradian作为字体系列,但它仍显示Rs。在标签..



谢谢

Hi all

Please tell me how to add the current rupee symbol in vb.net windows application.
i have downloaded the .ttf file and pasted in font folder also..

i am using Rupee.foradian as font family but still it's displaying Rs. in label..

Thank you

推荐答案

现在以下代码将有助于显示印度货币符号:

------------------------------------------ ------------------------------



var culture = CultureInfo .CreateSpecificCulture( HI-IN);

string currencySymbol = culture.NumberFormat.CurrencySymbol;
Now Following code will help to Display indian currency symbol :
------------------------------------------------------------------------

var culture = CultureInfo.CreateSpecificCulture("hi-IN");
string currencySymbol = culture.NumberFormat.CurrencySymbol;


这篇关于在标签控件中显示当前印度货币符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆