导航: EmEditor 帮助 > 宏参考 > Document 对象 > 方法
宏: GetColumns 方法
在 CSV 模式中检索列数。如果文档不是 CSV 模式,那么该方法会返回 0。
n = document.GetColumns();
n = document.GetColumns()
支持 EmEditor Professional 14.7 或之后的版本。