S
Sin Jeong-hun
Hello.
It seems like the default behavior of DrawString is trying to keep the
whole word if possible. I'd like the string to be drawn in multilines,
but filling the entire line width.
For example I'm using a fixed-width font, and the width of the layout
rectangle is that of 12 characters, the result I want is,
This is a sa
mple text.
not,
This is a
sample text.
I set the StringFormatFlags.Wrap = false, but it disabled multiline
drawing that wasn't what I wanted.
Is what I'm trying to do achievable with any formatting options or do
I have to draw each character manually with my own calculation?
It seems like the default behavior of DrawString is trying to keep the
whole word if possible. I'd like the string to be drawn in multilines,
but filling the entire line width.
For example I'm using a fixed-width font, and the width of the layout
rectangle is that of 12 characters, the result I want is,
This is a sa
mple text.
not,
This is a
sample text.
I set the StringFormatFlags.Wrap = false, but it disabled multiline
drawing that wasn't what I wanted.
Is what I'm trying to do achievable with any formatting options or do
I have to draw each character manually with my own calculation?