Hi,
I have trawled through the documentation and I cannot for the life of me find how to set the min and max values when you wat to use esriRasterStretch_PercentMinimumMaximum. Has this not been exposed in API?
If it can't be done that's as much an answer as a positive response - as I don't want to spend any more time on this, as I have lost valuable time already (on what seems a lost cause). I'm looking at ESRI staff here to possibly help out here, as I suspect this kind of niche.

This was already asked on GIS Stack Exchange - but turned up a blank:
https://gis.stackexchange.com/questions/57651/how-to-set-min-and-max-value-for-stretchtype-esriraste...