Screen.SetString Method
Copies a string into a specified position on the presentation space.
Namespace: Â JollyGiant.Emulation
Assembly: Â JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public StatusCode SetString( int row, int column, string text ) |
Visual Basic (Declaration) |
---|
Public Function SetString ( _ row As Integer, _ column As Integer, _ text As String _ ) As StatusCode |
Visual C++ |
---|
public: virtual StatusCode SetString( int row, int column, String^ text ) sealed |
JavaScript |
---|
function SetString(row, column, text); |
Parameters
row
Type: System.Int32
Screen row string will be copied to.
column
Type: System.Int32
Screen column string will be copied to.
text
Type: System.String
String to copy to the screen.
Return Value
The StatusCode indicating the result of the operation.
This can be one of the following values:
Status code | Description |
---|---|
Ok | The string was successfully copied. |
WHLLNOTCONNECTED | Your application is not currently connected to a host session (see Connect(Object)). |
WHLLPARAMETERERROR | charsToCopy has a value of zero (invalid). |
WHLLINHIBITED | The host session presentation space is protected or inhibited, or the string contains illegal data (such as a field attribute byte). |
WHLLTRUNCATED | The data string was truncated during the copy (partial copy). |
WHLLPOSITIONERROR | The presentation space position is invalid. |
WHLLSYSERROR | The method failed due to a system error. |
Implements
IScreen.SetString(Int32, Int32, String)
See Also
Screen Class
JollyGiant.Emulation Namespace
ISession.Connect(Object)
Send comments on this topic to Jolly Giant Software
Copyright 2009 by Jolly Giant Software, Inc.