Flynet Viewer .NET Programmer's Reference

getText Method

getText Method

Previous topic Next topic  

getText Method

Previous topic Next topic  

 

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

 

Flynet Viewer

 

See Also

 

paddingChar | paddingMode | screenColSize | screenRowSize | text

 

Applies To: HostScreen object

 


© 2016 Inventu Corporation, Flynet LTD