youngpm

IRasterStretch2.StretchStats Return type?

Discussion created by youngpm on Nov 22, 2011
Latest reply on Nov 17, 2013 by giselite
Hi,

I am trying to figure out what is returned by the StrectchStats call as seen in the following help file:

IRasterStretch2.StretchStats Reference

It returns an IArray, but I can't figure out what to cast the elements of the array as.  In other words, in the snippet of code below, what should "ISomething" be?

IRasterStretch2 irs = irrgbr as IRasterStretch2;
IArray ia = irs.StretchStats;
ISomething value = ia.get_Element(0) as ISomething; // What should "ISomething" be?

Outcomes