I am working with a outlook add-in for HTML content email in C#, I need to set the caret position inside a div to allow user to type when clicking new mail.
Is there any option using GetInspector.WordEditor to set the cursor position to star typing the email content
Absolutely - just use:
wordApplication.Selection.Start = 1000
wordApplication.Selection.End = 1000
Where wordApplication is a Word.Application object returned from Word.Document.Application, and Word.Document is returned from Inspector.WordEditor.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.