Information générale
Catégorie:
COM/DCOM et OLE Automation
>>>assigning text characteristics to selected text
>
>The problem is I'm not selecting any text or inserting the mouse pointer anywhere. I'm building the document using Word as an automation object based on input from a fields in a VFP form.
No problem if you want to do so programmatically.
>
>I think I need to programatically simulate a text selection so I can apply different text attributes. Like you said, setting begininng and end points sounds right.
I think that's you're only method. Because Word doesn't appear to recognize a "line" as a division of text, it has to be simulated.
I haven't had much time this week to work on it, so I'm gonna shut up for now until I can do more research. Thanx Jay.
>
>Charlie
Yeah, I'm speaking as much from documentation as from experience, so I hope that works!
Jay
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement