Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: HostScreen Class > Methods

getText Method

Scroll Prev Top Next More

 

Return the value of the specified location in the screen as a text string.

 

String HostScreen.getText(int row, int column, int length);

String HostScreen.getText(int offset, int length);

 

 

 

Arguments

 

HostScreen

 Required. HostScreen object.

 

Offset

 Required. The offset position on the host screen.

row

 Required. The row number on the host screen.

col

 Required. The column number on the host screen.

Length

 Required. The length of the text string to retrieve.

 

Remarks

 

Use this method to manually retrieve text from the host screen. If the offset, or the product of row and col, exceeds the total screen size then an empty string will be returned. A typical 80 column by 24 row screen has a maximum offset of 1920.

 

Note that this method truncates padding characters (default of null or blank).

 

Requirements

 

Inventu Viewer+

 

See Also

 

paddingChar | paddingMode | screenColSize | screenRowSize | text

 

Applies To: HostScreen object

 


© 2022 Inventu Corporation