M
max
Is there a method in the Graphic to wrap a string into a rectangle?
If so is there a way to specify the width and let a Graphics method
determine how much vertical space is required? I tried using
..MeasureString but get weird numbers for the width and height.
({System.Drawing.SizeF}
Empty: {System.Drawing.SizeF}
Height: 21.248373
IsEmpty: False
Width: 40.8447266)
The SizeF I used for the layout rect was
Dim layoutSize As New SizeF(500.0F, 0.0F)
Thanks,
--max
If so is there a way to specify the width and let a Graphics method
determine how much vertical space is required? I tried using
..MeasureString but get weird numbers for the width and height.
({System.Drawing.SizeF}
Empty: {System.Drawing.SizeF}
Height: 21.248373
IsEmpty: False
Width: 40.8447266)
The SizeF I used for the layout rect was
Dim layoutSize As New SizeF(500.0F, 0.0F)
Thanks,
--max