STK Graphics PrimitivesSend comments on this topic.
OverlayToControl 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 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
);
[Unmanaged C++]
public: HRESULT OverlayToControl(
    double X,
    double Y,
    SAFEARRAY * * ppRetVal
);
[Java]
public AgSafeArray overlayToControl(
    double X,
    double Y
);
[Python - STK API ]
def OverlayToControl(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.