Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a writeable bitmap (160x160) and a number in string. Code look like this:

C#
WriteableBitmap pic1 = selectedPhoto.Crop(0, 0, 160, 160);
String s = "1";


I want to draw the string s onto the pic1.

How can I do??

Could you show me the way to solve my problem?

Thanks so much!

Input:
1. Writebale Bitmap
2. String

Ouput: view here https://lh3.googleusercontent.com/-2rX1vOBpbdw/US1zu88qOfI/AAAAAAAAAGs/hcsi2Jw3gDs/s512/p5.png
Posted

1 solution

The question here[^] and some of the answers seem to have what you're looking for.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900