InfoConnect for Unisys
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmScreen Interface / PutText Method / PutText(String,Int32,Int32) Method
Text to put on screen.
Row position on which to put the text.
Column position on which to put the text.


In This Topic
    PutText(String,Int32,Int32) Method
    In This Topic
    Puts the text at the specified screen location. Text can span more than one field.
    Syntax
    'Declaration
     
    
    Overloads Function PutText( _
       ByVal text As String, _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As IIbmScreen
    Dim text As String
    Dim row As Integer
    Dim column As Integer
    Dim value As ReturnCode
     
    value = instance.PutText(text, row, column)

    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.

    Return Value

    ReturnCode indicates success, failure, or a warning condition if the cursor position reaches the screen boundary.
    Exceptions
    ExceptionDescription
    This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
    See Also