Click here to Skip to main content
15,886,664 members
Articles / Programming Languages / C#
Article

Text to Braille Converter

Rate me:
Please Sign up or sign in to vote.
1.24/5 (14 votes)
18 Jul 2007 63.6K   1.4K   12   6
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.

C#
<pre lang="cs">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

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Pakistan Pakistan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionBug Pin
shreekantt31-Mar-15 19:58
shreekantt31-Mar-15 19:58 
QuestionNeed Translation for tattoo Pin
Carmen Ayala22-Jun-09 9:23
Carmen Ayala22-Jun-09 9:23 
GeneralMy vote of 1 Pin
n0pt3x19-May-09 5:31
n0pt3x19-May-09 5:31 
No algorithms or something used , just a ttf file
Questionalgorithms Pin
magbee23-Feb-09 3:33
magbee23-Feb-09 3:33 
GeneralExcessive use of ToString() Pin
Ravi Bhavnani19-Jul-07 3:03
professionalRavi Bhavnani19-Jul-07 3:03 
GeneralRe: Excessive use of ToString() Pin
MussaratAziz22-Jul-07 20:03
MussaratAziz22-Jul-07 20:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.