Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/315.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Colors 使用Graphics.Drawstring()时防止颜色溢出?_Colors_Drawstring - Fatal编程技术网

Colors 使用Graphics.Drawstring()时防止颜色溢出?

Colors 使用Graphics.Drawstring()时防止颜色溢出?,colors,drawstring,Colors,Drawstring,在使用vb.net Graphics.Drawstring方法时,如何防止颜色相互渗透。这种情况发生在不应该同时使用的颜色上,如绿色/橙色、黑色和红色。 谢谢听起来您启用了抗锯齿功能。你试过禁用它吗?我通过生成png而不是JPEG解决了这个问题,最终质量要好得多

在使用vb.net Graphics.Drawstring方法时,如何防止颜色相互渗透。这种情况发生在不应该同时使用的颜色上,如绿色/橙色、黑色和红色。
谢谢

听起来您启用了抗锯齿功能。你试过禁用它吗?

我通过生成png而不是JPEG解决了这个问题,最终质量要好得多