文档编码
原型:
int Encoding;//get,set
Encoding:返回int类型变量,代码页,比如:GB23122代码页为936
var doc = App.ActiveDoc; var ret = doc.Encoding; PrintLine("编码:" + ret);