【EverEdit用户手册】Document >> InsertAt

 

 

1 Document >> InsertAt

在指定行列位置插入文本

原型:

void InsertAt(int line, int col, string strText);

1.1 参数

line

 [in] int类型, 行,起始值0

col

 [in] int类型, 列,起始值0

strText

 [in] string类型, 待插入文本

1.2 返回值

void:无

1.3 版本

EverEdit 4.5.0(4500)及之后版本。

1.4 备注

  

1.5 使用样例

 var doc = App.ActiveDoc;
 doc.InsertAt(0, 0, "########"); //在首行开头插入文字
posted @ 2024-12-14 21:21  tyysoft  阅读(2)  评论(0)    收藏  举报