I've been working with the "TextRenderer" class. I'd like to get it to
display text in a PictureBox and add an ellipsis if the box is too small for
all of the text. I've created a form with a PictureBox (picTest1) that's too
small for all of the text and this is the "Paint" event for the PictureBox:

Private Sub picTest1_Paint(ByVal sender As Object, _
ByVal e As System.Windows.Forms.PaintEventArgs) _
Handles picTest1.Paint

Const MSSG As String = "This is the PictureBox text. " & _
"It is very long in order to test the wrapping and " & _
"ellipse functions of the TextRenderer class."

TextRenderer.DrawText(e.Graphics, MSSG, _
Nothing, e.ClipRectangle, Nothing, _
TextFormatFlags.HorizontalCenter _
Or TextFormatFlags.Top _
Or TextFormatFlags.WordBreak _
Or TextFormatFlags.WordEllipsis)

End Sub

It works fine on a single line, but when I add the "WordBreak" flag, the
ellipsis disappear. The documentation says you can't combine the
"ExpandTabs" flag with one of the "Ellipsis" flags, but it doesn't say that
this won't work with "WordBreak".

Am I doing something wrong?

Is there any other technique for rendering the text and adding an ellipsis
if the PictureBox is too small?