STK X Send comments on this topic.
CopyFromWinID Method (AgUiAx2DCntrl)
See Also  Example
WinID
ID of the existing window whose scene is to be copied into this control.





Description

Copies an existing window's scene into this control. The Window ID of the source window can be obtained from the WinID on this control.

Syntax

[Visual Basic .NET]
Public Sub CopyFromWinID( _
   ByVal WinID As Integer _
) 

[C#]
public void CopyFromWinID(
int WinID
);

[Managed C++]
public: void CopyFromWinID(
int WinID
);

[Java]
public  copyFromWinID(
int WinID
);

[Unmanaged C++]
public: HRESULT CopyFromWinID(
long WinID
);

Parameters

WinID
ID of the existing window whose scene is to be copied into this control.

Example

[Visual Basic .NET] Copy Code
Dim WinID As Long

WinID = Me.AxAgUiAxVOCntrl1.WinID
Me.AxAgUiAxVOCntrl2.CopyFromWinID WinID
...

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1