This document is archived and information here might be outdated.  Recommended version.


IRasterGeometryProc3.PointsMap2PixelTransform Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc3.PointsMap2PixelTransform Method

Performs the map to pixel transformation.

[Visual Basic .NET]
Public Function PointsMap2PixelTransform ( _
    ByVal pInPoints As IPointCollection, _
    ByVal isForward As Boolean, _
    ByVal pRaster As IRaster _
) As IPointCollection
[C#]
public IPointCollection PointsMap2PixelTransform (
    IPointCollection pInPoints,
    bool isForward,
    IRaster pRaster
);
[C++]
HRESULT PointsMap2PixelTransform(
  IPointCollection* pInPoints,
  VARIANT_BOOL isForward,
  IRaster* pRaster,
  IPointCollection** ppOutPoints
);
[C++]

Parameters pInPoints [in]
pInPoints is a parameter of type IPointCollection isForward [in] isForward is a parameter of type VARIANT_BOOL pRaster [in]
pRaster is a parameter of type IRaster ppOutPoints [out, retval]
ppOutPoints is a parameter of type IPointCollection

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The PointsMap2PixelTransform method takes all the transformations on a Raster, and then performs transformations between map space and pixel space. This method works better for rasters with square cell size.

See Also

IRasterGeometryProc3 Interface