I am quite new in C# so sorry for my stupid question but I want to measure body using GetRange property but it has as arguments instead of array of doubles something called "ref System.Array". I am not able even declare it. How should I write it?
Don't feel bad. COM Interop Array's are tough. To make things worse, .NET 2.0 is broken regarding this. This code will work in .NET 1.1. If you're using .NET 2.0, I'll have to do some more digging to show you how to do it.