STK X Send comments on this topic.
InZoomMode Property (AgUiAx2DCntrl)
See Also  Example
Windows






Windows & Linux

Description

Returns true if in zoom in mode.

Property type

Read-only property

Syntax

[Visual Basic .NET]
Public Property InZoomMode() As Boolean

[C#]
public bool InZoomMode {get;}

[Managed C++]
public: __property bool get_InZoomMode();

[Unmanaged C++]
public: HRESULT get_InZoomMode(
VARIANT_BOOL * pRetVal
);

[Java]
public bool getInZoomMode();

Remarks

Returns True while zooming in on a section of control.

Example

[Visual Basic .NET] Copy Code
Private Sub AxAgUiAx2DCntrl1_MouseMoveEvent( _
                                ByVal sender As Object, _
                                ByVal e As AxAGI.STKX.IAgUiAx2DCntrlEvents_MouseMoveEvent) _
                      Handles AxAgUiAx2DCntrl1.MouseMoveEvent

    If (AxAgUiAx2DCntrl1.IsZoomingIn) Then
        ' Control is being zoomed in
        ...
    End If

End Sub

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK Engine for UNIX 11.2