Copy link to clipboard
Copied
I want to find the no of WaxRun from selected text, I have ITextFocus interface which s retrieved from ITextModel interface.
Copy link to clipboard
Copied
Forget the ITextFocus, read the programming guide about selection suites.
You'll implement one that picks up the selected text model and text range from ITextTarget.
Ensure that the text is already composed, and does not refer to overset.
To get to the wax, query the frame list from the text model, it has an IWaxStrand.
The wax strand gives you a wax iterator. Search the first wax line for your range, then descend to wax runs.