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


IDisplayTransformation.TransformCoords Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformation Interface > IDisplayTransformation.TransformCoords Method
ArcGIS Developer Help

IDisplayTransformation.TransformCoords Method

Transforms a set of points or measurements from device to world space or vice versa. Use the flags specified by esriDisplayTransformEnum.

[Visual Basic .NET]
Public Sub TransformCoords ( _
    ByRef mapPoints As WKSPoint, _
    ByRef devPoints As tagPOINT, _
    ByVal numPoints As Integer, _
    ByVal options As Integer _
)
[C#]
public void TransformCoords (
    ref WKSPoint mapPoints,
    ref tagPOINT devPoints,
    ref int numPoints,
    ref int options
);
[C++]
HRESULT TransformCoords(
  WKSPoint* mapPoints,
  tagPOINT* devPoints,
  long numPoints,
  long options
);
[C++]
Parameters
mapPoints [in]

mapPoints is a parameter of type WKSPoint* devPoints [in]
devPoints is a parameter of type tagPOINT* numPoints [in]
numPoints is a parameter of type long options [in]
options is a parameter of type long

Product Availability

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

Remarks

TransformCoords converts an array of points from map units to device units or vice versa. The TRANSFORM_TOMAP and TRANSFORM_TODEVICE flags control the direction of the transformation. The TRANSFORM_SIZE and TRANSFORM_POSITION flags specify whether the points are coordinates or sizes.

See Also

IDisplayTransformation Interface