C
Chris Austin
Hi,
I have an arbitrary string value and wish to determine how many characters
from that string will fit in a specified area with a specific font when
drawn.
I have looked at MeasureString and MeasureCharacterRanges, but neither of
these seems to provide this function.
So given the string "ABCDEFGHIJKL", I can draw that string, such that it is
clipped to an area, but I need to know how much of that string is visible.
Can anyone help,
Chris
I have an arbitrary string value and wish to determine how many characters
from that string will fit in a specified area with a specific font when
drawn.
I have looked at MeasureString and MeasureCharacterRanges, but neither of
these seems to provide this function.
So given the string "ABCDEFGHIJKL", I can draw that string, such that it is
clipped to an area, but I need to know how much of that string is visible.
Can anyone help,
Chris