【EverEdit用户手册】Application >> GetDoc

 

 

1 Application >> GetDoc

获取当前打开的某个文档对象

原型:

Document GetDoc(int index);

1.1 参数

index

 [in] int类型, 文档序号,起始值:0

1.2 返回值

Document: 返回的文档对象

1.3 版本

EverEdit 4.5.0(4500)及之后版本。

1.4 备注

  

1.5 使用样例

 var doc = GetDoc(0); //获取第一个文档对象
 PrintLine(doc.PathName); //打印文档的路径名
posted @ 2024-12-13 00:05  tyysoft  阅读(6)  评论(0)    收藏  举报