Click or drag to resize

OhioScreen Methods

The OhioScreen type exposes the following members.

Methods
 NameDescription
Public methodFindString Searches the text plane for the target string and returns it's position.
Public methodGetData Returns an array containing the data from the Text, Color, Field or Extended plane of the virtual screen.
Public methodPosToRowCol Converts screen position value to row and column values.
Public methodPutString Places a text string in the virtual screen at the location specified. The string will overlay only unprotected fields and any parts of the string which fall into protected fields will be discarded.
Public methodRowColToPos Converts row and column values to screen position value.
Public methodSendAidAsync Sends an OhioKey to the virtual screen.
Public methodSendKeysAsync(String, CancellationToken) Sends a string of keystrokes to the virtual screen. This method acts as if keystrokes were being typed from the keyboard of a terminal. The keystrokes will be sent to the current cursor position.
Public methodSendKeysAsync(String, Int32, CancellationToken) Sends a string of keystrokes to the virtual screen. This method acts as if keystrokes were being typed from the keyboard of a terminal. The keystrokes will be sent to the position provided.
Public methodWaitForCursorAsync Waits for the cursor to appear at the position.
Public methodWaitForCursorColumnAsync Waits for cursor to appear at the column position (zero-based). Useful for VT sessions.
Public methodWaitForHostUpdateAsync Waits for the host to send new screen data. For character based VT emulations, other wait functions such as WaitForStrRecvAsync or WaitForCursorColumnAsync should be used instead.
Public methodWaitForNoXAsync Waits for the X () or X SYSTEM to be removed from the OIA line.
Public methodWaitForStrAsync Waits for text to appear at the specified position.
Public methodWaitForStrRecvAsync Waits for text to be received from the VT host. Note that space characters are ignored.
Top
See Also