Transforms a rectangle from one coordinate system to another coordinate system.


Namespace: ActualMap
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function Transform( _ 
   ByVal fromCoordSystem As CoordSystem,  _ 
   ByVal fromRect As Rectangle,  _ 
   ByVal toCoordSystem As CoordSystem _ 
) As Rectangle
C#
public static Rectangle Transform(
   CoordSystem fromCoordSystem,
   Rectangle fromRect,
   CoordSystem toCoordSystem
)
C++
public:
 static Rectangle Transform(
   CoordSystem fromCoordSystem,
   Rectangle fromRect,
   CoordSystem toCoordSystem
)
J#
public static Rectangle Transform(
   CoordSystem fromCoordSystem,
   Rectangle fromRect,
   CoordSystem toCoordSystem
)
JScript
public static  function Transform(
   fromCoordSystem : CoordSystem,
   fromRect : Rectangle,
   toCoordSystem : CoordSystem
) : Rectangle

Parameters

fromCoordSystem
A source coordinate system.
fromRect
A source Rectangle object.
toCoordSystem
A destination coordinate system.

See Also