如何在文本框中编写印地文文本 [英] How to write hindi text in textbox

查看:65
本文介绍了如何在文本框中编写印地文文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好..
我正在做一个Windows应用程序.我有2个文本框txthindi和txtenglish.我将txthindi的字体属性设置为"Mangal".当我用txtHindi书写时,它显示为印地文.我的任务是,当我用txtHindi书写时,它会以印地语以及txtEnglish文本向我显示文本.但我无法做到这一点.
例如:"Rupesh"是我在txtHindi中写的,它显示了我在印地语中的用法,而"Rupesh"是在txtEnglish框中书写的.
任何人请帮助我.非常紧急,我被困在这里.

问候
Maaahi

Hello..
I m doing one windows application. I hava 2 textbox txthindi and txtenglish. the font proerty of txthindi i set as ''Mangal''. when i write in txtHindi it shows in hindi. My task is that when i write in txtHindi it shows me the text in Hindi as well as in txtEnglish text in English. But i m not able to do how it will.
Ex: ''Rupesh" i write in txtHindi it shows me in Hindi and "Rupesh" in txtEnglish Box while writing.

Anybody Plz Help me out.Its Very Urgent and I stuck here..

Regards
Maaahi

推荐答案

该任务称为音译".可以在 http://mylanguages.org/hindi_romanization.php 上找到印地语到英语(拉丁语/罗马语)音译的在线示例. [ ^ ].
只需复制其"convertchar"函数,然后从TextChanged事件中调用它即可.
The task is called "transliteration". An online example for Hindi to English (Latin/Roman) transliteration can be found at http://mylanguages.org/hindi_romanization.php[^].
Just copy their "convertchar" function, and call it from the TextChanged event.


这篇关于如何在文本框中编写印地文文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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