65.9K
CodeProject is changing. Read more.
Home

Text to Braille Converter

starIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIconemptyStarIcon

1.24/5 (10 votes)

Jul 19, 2007

viewsIcon

64705

downloadIcon

1367

Converts the regular text into Braille text.

Screenshot - braille.jpg

Introduction

Well Guys, I have developed this very simple program to demonstrate the regular text to Braille conversion. I won't go into the history or what is Braille? you can check this out here http://en.wikipedia.org/wiki/Braille .

Using the code

How you can write this program what sort of things are necessary to develop this very simple program. First off all you have to download the font [Braille]. If you unable to find one then I have provided in the source code zip which you can download it from above. Just copy that font into your font directory in the control panel. Now run your application and Test.

Setps to develope:

1. Place two TextBoxes one for regular Text and another for braille Text.

2. Set the Font of Braille TextBox to that font which you have copied to your

operating system fonts dirctory.

The Source code is simple.

using System; 
 
using System.Collections.Generic; 
 
using System.ComponentModel; 
 
using System.Data; 
 
using System.Drawing; 
 
using System.Text; 
 
using System.Windows.Forms; 
 
 
namespace Braille 
 
{ 
 
public partial class Form1 : Form 
 
{ 
 
public Form1() 
 
{ 
 
InitializeComponent(); 
 
} 
 
 
        private void button1_Click(object sender, EventArgs e)

 
{ 
 
string regularText = RegularTextBox.Text.ToString(); 
 
BrailleTextBox.Text = regularText.ToString(); 
 
} 
 
} 
 
} 
 

Conclusion:

Well guys i know it's very simple application. i Hope you people will like it. www.exposecode.com