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


IRasterGeometryProc2.WKSPointsMap2PixelTransform Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterGeometryProc2 Interface > IRasterGeometryProc2.WKSPointsMap2PixelTransform Method
ArcGIS Developer Help

IRasterGeometryProc2.WKSPointsMap2PixelTransform Method

Performs the map to pixel transformation.

[Visual Basic .NET]
Public Sub WKSPointsMap2PixelTransform ( _
    ByVal pointsCount As Integer, _
    ByRef inPoints As WKSPoint, _
    ByVal isForward As Boolean, _
    ByVal pRaster As IRaster, _
    ByRef outPoints As WKSPoint _
)
[C#]
public void WKSPointsMap2PixelTransform (
    int pointsCount,
    ref WKSPoint inPoints,
    ref bool isForward,
    ref IRaster pRaster,
    ref WKSPoint outPoints
);
[C++]
HRESULT WKSPointsMap2PixelTransform(
  long pointsCount,
  WKSPoint* inPoints,
  VARIANT_BOOL isForward,
  IRaster* pRaster,
  WKSPoint* outPoints
);
[C++]
Parameters
pointsCount [in]

pointsCount is a parameter of type long inPoints [in]
inPoints is a parameter of type WKSPoint* isForward [in]
isForward is a parameter of type bool pRaster [in]
pRaster is a parameter of type IRaster* outPoints [in, out]
outPoints is a parameter of type WKSPoint*

Product Availability

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

Remarks

The WKSPointsMap2PixelTransform 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

IRasterGeometryProc2 Interface