W
Wamiq Ansari
My Word document contains an XML element applied to a selection of document.
If I create a range object consisting of entire word document, the range
object is short of entire text of the document.
Please note that I create the range object as follows:
object start = 0;
object end = document.Characters.Count;
Word.Range rng = document.Range(ref start,ref end);
The rng.Text property does not return the full text of the document, infact
its well short of it. However, if I apply the XML element to the entire Word
document, all seems to work.
Could anyone please explain the odd behaviour.
Best regards,
Wamiq Ansari
(e-mail address removed)
If I create a range object consisting of entire word document, the range
object is short of entire text of the document.
Please note that I create the range object as follows:
object start = 0;
object end = document.Characters.Count;
Word.Range rng = document.Range(ref start,ref end);
The rng.Text property does not return the full text of the document, infact
its well short of it. However, if I apply the XML element to the entire Word
document, all seems to work.
Could anyone please explain the odd behaviour.
Best regards,
Wamiq Ansari
(e-mail address removed)