B
Bob Eaton
I'm creating a COM add-in for Word and I was processing the text in the
files with Range objects.
I've noticed that when I edit original Word documents (i.e. *.doc), the end
of paragraph is '\r' in the Paragraph.Range.Text string, but when I edit a
text file, the paragraph ends have '\r\n' (presumably, because the original
program that edited those plain text documents put them there...)
Is there a way to detect this with the Interop.Word framework? I thought I
saw a method called "IsCRLF" or something like that off of some object...
but I can't find it anymore...
Thanks,
Bob
files with Range objects.
I've noticed that when I edit original Word documents (i.e. *.doc), the end
of paragraph is '\r' in the Paragraph.Range.Text string, but when I edit a
text file, the paragraph ends have '\r\n' (presumably, because the original
program that edited those plain text documents put them there...)
Is there a way to detect this with the Interop.Word framework? I thought I
saw a method called "IsCRLF" or something like that off of some object...
but I can't find it anymore...
Thanks,
Bob