How to set line spacing Graphics.DrawString

后端 未结 2 1810
独厮守ぢ
独厮守ぢ 2020-12-06 11:39

I arrive to output a string on multiple lines inside a retangle but haven\'t find a way to reduce or enlarge the line spacing. How to do that?

2条回答
  •  广开言路
    2020-12-06 11:55

    This MSDN should help you. Line spacing is a result of the Font you are using. You may need to break your DrawString commands up into multiple calls if you need custom line spacing.

提交回复
热议问题