iDim | (Long) Specifies dimension.
1 - Returns the array size in defined dimension: 1
2 - Returns the array size in defined dimension: 2 |
---|
var arr = Pm.CreatePmArray().Array1(10, 20, 30, 40);
var nSize = arr.GetSize(1);
// nSize = 4
var arr = Pm.CreatePmArray(2, 3, 5);
var nSize1 = arr.GetSize(1);
// nSize1 = 3
var nSize2 = arr.GetSize(2);
// nSize2 = 5