Tag Archives: random font

Draw ransom note text in a RichTextBox in C#

This example is similar to the post Draw ransom note text in C# but it writes text into a RichTextBox instead of on a PictureBox. This has the following advantages. The code is simpler The RichTextBox can arrange text more … Continue reading

Posted in graphics, strings | Tagged , , , , , , , , , , , , | Leave a comment

Draw ransom note text in C#

This example draws each of the characters in a string in a different random font to produce a ransom note text effect. The program starts by using the following code to create arrays holding font names and brushes from which … Continue reading

Posted in graphics, strings | Tagged , , , , , , , , , , , , | 1 Comment