K
ksr
hi all,
I am working on word automation using vc++.
I would like to know if there is a way to get/extract part of the text
from a selection.
For ex. if my selection returns the text, "This is an example" when I
execute the following code,
Field.Select() // where field is a hyperlink.
selectionObj = GetSelection();
selectionObj.GetText();
The above text selection spans across multiple pages. Assuming, the
text "This is" is on Page 1 and "an example" is on Page 2. How can I
read them as two different texts? Is there a way to move within
selection looking for a page break?
I appreciate your inputs.
Thankyou
I am working on word automation using vc++.
I would like to know if there is a way to get/extract part of the text
from a selection.
For ex. if my selection returns the text, "This is an example" when I
execute the following code,
Field.Select() // where field is a hyperlink.
selectionObj = GetSelection();
selectionObj.GetText();
The above text selection spans across multiple pages. Assuming, the
text "This is" is on Page 1 and "an example" is on Page 2. How can I
read them as two different texts? Is there a way to move within
selection looking for a page break?
I appreciate your inputs.
Thankyou