Does TextBox use GDI or GDI+

后端 未结 3 1994
旧时难觅i
旧时难觅i 2021-01-16 11:07

Basically, I want to measure the text size in a TextBox, and I found out that TextRenderer gives me the correct values, while Graphics would give me wrong values. So that se

3条回答
  •  悲哀的现实
    2021-01-16 11:50

    GDI+ error comes usually when we giving path for storing something in folder and that path is incorrect, meaning folder can not access or not able to find that path. So, just correct the path or allow folder security accessible.

提交回复
热议问题