Hi,
"line" migh be wrong word for the "thing" that I am searching for, but I don't know the exactly term. So don't hesitate to correct the title.
Imaging the following paragraph:
This is a very long
sentence that is auto
wrapped for because
of its length.
The paragraph has only one sentence which is auto wrapped because of it's length. There is no line break within the sentence.
I would like to get the "line count" (4 in this example) and the text of every line.
In addition, I would like to know the height of each line (height of the largest character).
I just tried
- par.LineCount -> returns 0
- par. LineAllCount -> returns 0
- par.Lines -> is empty
- par.LineHeight
It looks like that "line" is a sub sequence which ends with a "soft line break" (like "\line" in RTF).
BTW: Is there a const for a "soft line break"? If not, how to add a "soft line break" to a paragraph?
Thanks in advance :)
/Steven