Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IFileTransfer Interface / TextFileCharacterSet Property


In This Topic
    TextFileCharacterSet Property (IFileTransfer)
    In This Topic
    Returns or specifies whether Reflection uses the ASCII or ANSI character set.
    Syntax
    'Declaration
     
    
    Property TextFileCharacterSet As TextFileCharacterSetOption
    'Usage
     
    
    Dim instance As IFileTransfer
    Dim value As TextFileCharacterSetOption
     
    instance.TextFileCharacterSet = value
     
    value = instance.TextFileCharacterSet
    TextFileCharacterSetOption TextFileCharacterSet {get; set;}

    Property Value

    The default value is TextFileCharacterSetOption.WindowCharacterSet. TextFileCharacterSetOption.DOSCharacterSet Reflection uses the DOS (ASCII) character set. TextFileCharacterSetOption.WindowsCharacterSet Reflection use the Windows (ANSI) character set.
    Remarks
    The Windows character set (ANSI) is slightly different from the DOS character set (ASCII). If you are receiving an ASCII file to be used in the Windows environment, make sure this property is set to TextFileCharacterSetOption.WindowsCharacterSet. The value of this property can also affect printing if BypassPrinterDriver and TranslatePrintedCharacters are both set to True. The default value is TextFileCharacterSetOption.WindowCharacterSet. TextFileCharacterSetOption.DOSCharacterSet Reflection uses the DOS (ASCII) character set. TextFileCharacterSetOption.WindowsCharacterSet Reflection use the Windows (ANSI) character set.
    See Also