Office.MatrixBinding interface  
表示两个维度的行和列的绑定。
注解
MatrixBinding 对象从 Binding 对象继承 id 属性、type 属性、getDataAsync 方法和 setDataAsync 方法。
属性
| column | 获取矩阵数据结构中的列数,作为整数值。 | 
| row | 获取矩阵数据结构中的行数,作为整数值。 | 
属性详细信息
		columnCount
	 
	获取矩阵数据结构中的列数,作为整数值。
columnCount: number;属性值
number
示例
function showBindingColumnCount() {
    Office.context.document.bindings.getByIdAsync("myBinding", function (asyncResult) {
        write("Column: " + asyncResult.value.columnCount);
    });
}
// Function that writes to a div with id='message' on the page.
function write(message){
    document.getElementById('message').innerText += message; 
}
		rowCount
	 
	获取矩阵数据结构中的行数,作为整数值。
rowCount: number;属性值
number
示例
function showBindingRowCount() {
    Office.context.document.bindings.getByIdAsync("myBinding", function (asyncResult) {
        write("Rows: " + asyncResult.value.rowCount);
    });
}
// Function that writes to a div with id='message' on the page.
function write(message){
    document.getElementById('message').innerText += message; 
}