| GridControlPasteTextFromBuffer Method |
Pastes the text values from the specified buffer to the grid.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public virtual bool PasteTextFromBuffer(
string buffer,
Range range
)
Public Overridable Function PasteTextFromBuffer (
buffer As String,
range As Range
) As Boolean
public:
virtual bool PasteTextFromBuffer(
String^ buffer,
Range^ range
)
Parameters
- buffer
- Type: SystemString
The data in tab-delimited form. - range
- Type: Stingray.GridRange
The coordinates where the cells should be
inserted.
Return Value
Type:
Booleantrue if the operation succeeded;
false otherwise.
Remarks
The text values must be available in tab-delimited form in the
buffer.
Newline characters indicate that a new row should be
started.
PasteTextFromBuffer is normally only called from to
paste data in
CF_TEXT format from the clipboard, but you may also
call this method to load cells from a text file.
See Also