AGI STK Graphics 11 Send comments on this topic.
OverlayToControl Method (IAgStkGraphicsOverlay)
See Also 
X
The horizontal position to transform.
Y
The vertical position to transform.





Description

Transforms a given position, specified relative to the overlay, into coordinates relative to the overall globe control. Returns an array with a size of 4 and the elements are in the order x position, y position, x Screen Overlay Unit, y Screen Overlay Unit.

Syntax

[Visual Basic .NET]
Public Function OverlayToControl( _
   ByVal X As Double, _
   ByVal Y As Double _
) As System.Array

[C#]
public System.Array OverlayToControl(
double X,
double Y
);

[Managed C++]
public: System::Array OverlayToControl(
double X,
double Y
);

[Java]
public Object[] overlayToControl(
double X,
double Y
);

[Unmanaged C++]
public: HRESULT OverlayToControl(
double X,
double Y,
SAFEARRAY ** Array
);

Parameters

X
The horizontal position to transform.
Y
The vertical position to transform.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1