AGI STK Esri Display 11 Send comments on this topic.
Message Method (IAgEsri3dRenderer)
See Also  Example
Message
Message to send to the log.
MsgCode





Description

Outputs a message to the log.

Syntax

[Visual Basic .NET]
Public Sub Message( _
   ByVal Message As String, _
   ByVal MsgCode As AgESTKesriMsgCodes _
) 

[C#]
public void Message(
string Message,
AgESTKesriMsgCodes MsgCode
);

[Managed C++]
public: void Message(
String __gc ^ Message,
AgESTKesriMsgCodes MsgCode
);

[Java]
public  message(
String Message,
AgESTKesriMsgCodes MsgCode
);

[Unmanaged C++]
public: HRESULT Message(
BSTR Message,
AgESTKesriMsgCodes MsgCode
);

Parameters

Message
Message to send to the log.
MsgCode
Member Value Description
eEsri3dMsgDebug 0 Debug message.
eEsri3dMsgInfo 1 Informational message.
eEsri3dMsgForceInfo 2 Force info message.
eEsri3dMsgWarning 3 Warning message.
eEsri3dMsgAlarm 4 Alarm message.

Remarks

Use this method to send a message to the STK message viewer or to the log. This is equivalent to the Message connect command.

Example

[C#] Copy Code
m_Renderer.Message("This is a new message", AgESTKesriMsgCodes.eEsri3dMsgInfo);

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1