Wednesday, 8 July 2015

arcobjects - How to set min and max value for stretchType: esriRasterStretch_PercentMinimumMaximum



How can I set the min and max values for the stretch type "Percent Clip" in arcobjects?


It's possible to set the Stretch type:


rasterStretch.StretchType = esriRasterStretchTypesEnum.esriRasterStretch_PercentMinimumMaximum;

But I have no idea how I can set the min and max values (like in the Properties Dialog of ArcMap).


Layer Properties with Stretch type Percent Clip and min/max percent values




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...