How to take text input in win2d like we do in uwp with TextBox?
Asked
Active
Viewed 127 times
-2
-
1Win2D https://github.com/microsoft/Win2D isn't about input, just about 2D graphics rendering. – Simon Mourier Mar 11 '22 at 08:23
1 Answers
1
As Simon Mourier said, Win2D is use to 2D graphics rendering. if you want to get text value, please use variable to store DrawText
string parameter. And the other way is use OcrEngine
to recognize specific text. For more detail please refer this code sample.

Nico Zhu
- 32,367
- 2
- 15
- 36