J
Jon Robertson
I'm accessing a Publisher document via COM Automation, and I'm having a
problem with Problem with .TextFrame.TextRange.Text for text frames.
Let's say there is a Publisher document, with a text frame, and the
text frame contains the word "Information". The text frame can be
resized so that the whole word doesn't show. For example, you could
resize the text frame so that only "Inform" showed. Yet, "Information"
is still there, because if you make the text frame larger again, you
see the rest of the word.
However, .TextFrame.TextRange.Text only returns the portion of the word
that is visible in the text frame. I've been unable to find a way to
retrieve the whole contents of a text frame when the text frame is
smaller than the contents.
I've tried setting TextRange.End and using TextRange.MoveEnd. Neither
have solved my problem.
Any suggestions would be greatly appreciated!
problem with Problem with .TextFrame.TextRange.Text for text frames.
Let's say there is a Publisher document, with a text frame, and the
text frame contains the word "Information". The text frame can be
resized so that the whole word doesn't show. For example, you could
resize the text frame so that only "Inform" showed. Yet, "Information"
is still there, because if you make the text frame larger again, you
see the rest of the word.
However, .TextFrame.TextRange.Text only returns the portion of the word
that is visible in the text frame. I've been unable to find a way to
retrieve the whole contents of a text frame when the text frame is
smaller than the contents.
I've tried setting TextRange.End and using TextRange.MoveEnd. Neither
have solved my problem.
Any suggestions would be greatly appreciated!