InfoConnect for Unisys
Attachmate.Reflection.Emulation.UTS Namespace / IUtsScreen 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.
    Syntax
    'Declaration
     
    
    Overloads Function PutText( _
       ByVal text As String, _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As IUtsScreen
    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).
    Remarks
    truncation occurs if an attempt is made to overwrite protected data.
    See Also