GetElement Method |
The GetElement method retrieves the value of a specified matrix element.
VT_DISPATCH = objMC.GetElement(Row As Long, Col as Long)
Element |
Description |
VT_DISPATCH |
A value object representing the value stored at the specified position in the matrix. |
objMC |
The Mathcad Matrix object. |
Row |
Zero-based row index of the element being retrieved. |
Col |
Zero-based column index of the element being retrieved. |
The GetElement method can return an error if you specify an invalid index.