IRasterAnalysisEnvironment - SetExtent C++

Discussion created by cjmccabe on May 20, 2011
Latest reply on May 20, 2011 by rlwatson
I am trying to raster some shape data and want to do a subset of my feature class. I am attempting to create a IEnvelopePtr with the extents I want to raster.

The interface on the SetExtent method of the IRasterAnalysisEnvironment calls for a VARIANT *extentProvider

In the C# examples I have seen them cast the IEnvelopePtr to an object however in C++ that isnt available...

Does anyone know how I can set the extent on the IRasterAnalysisEnvironment with my IEnvelopePtr??