InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / ScreenCharacter Class / ScreenCharacter Constructor / ScreenCharacter Constructor(Char,Int32,FieldAttributes,ScreenColor)
The character on the host screen.
The character width. SBCS = 1, DBCS = 2.
Field attributes at the character's position on the screen.
Host screen foreground color at the character's position on the screen.


In This Topic
    ScreenCharacter Constructor(Char,Int32,FieldAttributes,ScreenColor)
    In This Topic
    Initializes a new instance of the ScreenCharacter class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal character As Char, _
       ByVal charWidth As Integer, _
       ByVal fieldAttributes As FieldAttributes, _
       ByVal color As ScreenColor _
    )
    'Usage
     
    
    Dim character As Char
    Dim charWidth As Integer
    Dim fieldAttributes As FieldAttributes
    Dim color As ScreenColor
     
    Dim instance As New ScreenCharacter(character, charWidth, fieldAttributes, color)

    Parameters

    character
    The character on the host screen.
    charWidth
    The character width. SBCS = 1, DBCS = 2.
    fieldAttributes
    Field attributes at the character's position on the screen.
    color
    Host screen foreground color at the character's position on the screen.
    See Also