This document is archived and information here might be outdated. Recommended version. |
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
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.