物件:Matrix
此物件代表 PTC Mathcad PrimeMatrix COM 介面 Ptc.MathcadPrime.Automation.IMathcadPrimeMatrix。
方法
• GetMatrixElement(RowIndex as integer, ColumnIndex as integer, Value as double) - 取得位於 RowIndex、ColumnIndex 的矩陣元素,並提供給 Value。
• SetMatrixElement(RowIndex as integer, ColumnIndex as integer, Value as double) - 將位於 RowIndex、ColumnIndex 的矩陣元素設定給 Value。
其中
RowIndex 是列索引
ColumnIndex 是欄索引
Value 是由列與欄索引所指定的矩陣元素值。
屬性
• Columns 是矩陣中的欄數。
• Rows 是矩陣中的列數。
設定/取得是否顯示 PTC Mathcad Prime 視窗。