STK Graphics PrimitivesSend comments on this topic.
ControlToOverlay Method (IAgStkGraphicsOverlay)
See Also
X
The horizontal position to transform.
Y
The vertical position to transform.
Windows





Windows & Linux

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
);
[Unmanaged C++]
public: HRESULT ControlToOverlay(
    double X,
    double Y,
    SAFEARRAY * * ppRetVal
);
[Java]
public AgSafeArray controlToOverlay(
    double X,
    double Y
);
[Python - STK API ]
def ControlToOverlay(self, X:float, Y:float) -> list:

Parameters

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

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.