C# Drawstring Letter Spacing

后端 未结 4 1888
说谎
说谎 2020-12-20 12:26

Is is somehow possible to control letter spacing when using Graphics.DrawString? I cannot find any overload to DrawString or Font that would allow me to do so.



        
4条回答
  •  攒了一身酷
    2020-12-20 13:13

    I really do believe that ExtTextOut will resolve your problem. You can use the lpDx parameter to add an array of inter-character distances. Here is the pertinent MSN documentation:

    http://msdn.microsoft.com/en-us/library/dd162713%28v=vs.85%29.aspx

提交回复
热议问题