AGI STK Objects 11 Send comments on this topic.
CopyObject Method (IAgStkObjectCollection)
See Also 
ObjectToClone
NewObjectName





Description

Copy and paste the specified object.

Syntax

[Visual Basic .NET]
Public Function CopyObject( _
   ByVal ObjectToClone As IAgStkObject, _
   ByVal NewObjectName As String _
) As IAgStkObject

[C#]
public IAgStkObject CopyObject(
IAgStkObject ObjectToClone,
string NewObjectName
);

[Managed C++]
public: IAgStkObject^ CopyObject(
IAgStkObject ^ ObjectToClone,
String __gc ^ NewObjectName
);

[Java]
public IAgStkObject copyObject(
IAgStkObject ObjectToClone,
String NewObjectName
);

[Unmanaged C++]
public: HRESULT CopyObject(
IAgStkObject * ObjectToClone,
BSTR NewObjectName,
IAgStkObject ** ReturnValue
);

Parameters

ObjectToClone
NewObjectName

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1