AGI STK Objects 11 Send comments on this topic.
ShortDescription Property (IAgStkObject)
See Also  Example





Description

The short description of the object.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property ShortDescription() As String

[C#]
public string ShortDescription {get; set;}

[Managed C++]
public: __property String __gc ^ get_ShortDescription();
public: __property void set_ShortDescription(
String __gc ^
);

[Unmanaged C++]
public: HRESULT get_ShortDescription(
BSTR * pRetVal
);
public: HRESULT put_ShortDescription(
BSTR NewShortDescription
);

[Java]
public String getShortDescription();public void setShortDescription(
String
);

Example

Set/Get the STK Object description
[C#] Copy Code
// Set STK Object description 
stkobject.LongDescription = "This is a very very very long description"
stkobject.ShortDescription = "This is a short description"
 
// Get STK Object description 
string longDescription = stkobject.LongDescription; 
string shortDescription = stkobject.ShortDescription; 
 

Set/Get the STK Object description
[Visual Basic .NET] Copy Code
' Set STK Object description
stkobject.LongDescription = "This is a very very very long description"
stkobject.ShortDescription = "This is a short description"

' Get STK Object description
Dim longDescription As String = stkobject.LongDescription
Dim shortDescription As String = stkobject.ShortDescription

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1