InfoConnect API Guide
Attachmate.Reflection.Emulation.T27 Namespace / IT27Screen Interface / PutText Method / 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.


In This Topic
    PutText(String,Int32,Int32,Int32) Method
    In This Topic
    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 IT27Screen
    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)

    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 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
    If the text string is longer than "length", or an overwrite of protected data is attempted then the text is truncated.
    See Also