![](/img/trans.png)
[英]set cursor position in Outlook AddIn using word editor range.select() new mail
[英]c# code to set cursor position in outlook word editor
我正在使用C#中的HTML內容電子郵件的Outlook加載項,我需要在div中設置插入符號的位置,以允許用戶在單擊新郵件時進行鍵入。
是否可以使用GetInspector.WordEditor將光標位置設置為以星型鍵入電子郵件內容
絕對-只需使用:
wordApplication.Selection.Start = 1000
wordApplication.Selection.End = 1000
其中wordApplication是從Word.Document.Application返回的Word.Application對象,而Word.Document是從Inspector.WordEditor返回的。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.