getDisplayText (int, int,i nt, int, boolean, string)

Method. Gets text from the display. Form 1 of getDisplayText lets you specify a starting row and column, an ending row and column, and whether the text selection should be linear or rectangular (see the Notes section below for examples of these types of selections); the text retrieved is formatted with the line ending characters you specify separating each line of display text.

Form 2 of getDisplayText lets you specify a starting row and column and the number of characters to retrieve. If the number of characters remaining on the display line is less than the number of characters you request, only the characters remaining on the line are returned.

Form 1: public String getDisplayText( int inStartRow,
                                      int inStartCol,
                                      int inEndRow,
                                      int inEndCol,
                                      boolean isRect,
                                      String inLineEnd )
                                      
Form 2: public String getDisplayText( int inStartRow,
                                      int inStartCol,
                                      int numCharacters )