Attachmate Reflection 2014 .NET API Reference
PutText(String,Int32,Int32,Int32) Method


Text to put on screen.
Row position on which to put the text.
Column position on which to put the text.
Number of byte positions available for the text.
Puts text at the specified screen location.
Syntax
'Declaration
 
Overloads Function PutText( _
   ByVal text As String, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal length As Integer _
) As ReturnCode
'Usage
 
Dim instance As IIbmScreen
Dim text As String
Dim row As Integer
Dim column As Integer
Dim length As Integer
Dim value As ReturnCode
 
value = instance.PutText(text, row, column, length)
ReturnCode PutText( 
   string text,
   int row,
   int column,
   int length
)

Parameters

text
Text to put on screen.
row
Row position on which to put the text.
column
Column position on which to put the text.
length
Number of byte positions available for the text.

Return Value

ReturnCode indicates sucess, failure, or a warning condition if the cursor position reaches the screen boundary.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
Remarks
If the text string is longer than "length", the text is truncated. Text can span more than one field.
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IIbmScreen Interface
IIbmScreen Members
Overload List

Send Feedback