Fastest API for rendering text in Windows Forms?

后端 未结 6 2004
情深已故
情深已故 2020-12-29 10:49

We need to optimize the text rendering for a C# Windows Forms application displaying a large number of small strings in an irregular grid. At any time there can be well ove

6条回答
  •  庸人自扰
    2020-12-29 11:33

    5000+ text rendering is slow even with GDI, especially if you need scrolling. Create a separate rendering thread and notify the UI thread every 200 ms and bitblt the current results. It gives a smooth user experience.

提交回复
热议问题