AGI STK Graphics 11 Send comments on this topic.
ControlToOverlay 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 overall globe control, into coordinates relative to this overlay. 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 ControlToOverlay( _
   ByVal X As Double, _
   ByVal Y As Double _
) As System.Array

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

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

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

[Unmanaged C++]
public: HRESULT ControlToOverlay(
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