PowerTCP Emulation for .NET
ScrapeText Method




Column/row of first cell, 0-relative, inclusive.
Column/row of last cell, 0-relative, inclusive.
The SelectionMode to use.
Retrieves text (minus escape characters) from the Vt display.
Syntax
Public Function ScrapeText( _
   ByVal start As Point, _
   ByVal end As Point, _
   ByVal mode As SelectionMode _
) As String
Dim instance As Vt
Dim start As Point
Dim end As Point
Dim mode As SelectionMode
Dim value As String
 
value = instance.ScrapeText(start, end, mode)
public string ScrapeText( 
   Point start,
   Point end,
   SelectionMode mode
)
public: string* ScrapeText( 
   Point start,
   Point end,
   SelectionMode mode
) 
public:
String^ ScrapeText( 
   Point start,
   Point end,
   SelectionMode mode
) 

Parameters

start
Column/row of first cell, 0-relative, inclusive.
end
Column/row of last cell, 0-relative, inclusive.
mode
The SelectionMode to use.

Return Value

A string representation of the scraped characters.
Remarks

This method retrieves all of the text between the specifed Points, removing all escape characters. An empty string is returned if no cells are selected.

Note that the row values are relative to the start of the scrollback buffer. A CrLf pair separates each row.

See Also

Reference

Vt Class
Vt Members


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic