Hi,
when drawing text onto a form i want to draw it where the text is trimmed by
character base.
however when using the code below the text is drawn as trimmed by word.
Only the last items that do not fit the rectangle are trimmed properly.
Lines before that one are somehow trimmed by word, not character!
Is this a bug?
Regards, Willie.
Dim Sf As New StringFormat
Sf.Trimming = StringTrimming.Character
Dim Fnt as Font = New Font("arial", 25, FontStyle.Regular,
GraphicsUnit.Pixel)
Dim Rect as new rectangle(0,0,150,200)
SomeBitmapGraphics.DrawString("AHS hgdsh kasdhkjhjksfd hsjdk hsdkh dskh
gfdsjh gsjg dsjg dsjg dskghreu skh dskj", Fnt, SomeSolidBrush, Rect, Sf)