TE Edit Control .NET Core / .NET Framework Help
Product page

SetTerBuffer

Set document text:

bool SetTerBuffer(buffer, title)
string buffer:The string containing the new text and format data.
string title;new title for the window. Specify a null if you do not wish to change the window title

Description: You can use this function to set new data in an existing TER window. The exising text in the window is discarded. The data in the buffer can be provided in one of these formats:

Text Format

Rich Text Format

Return Value: This function returns a true value if successful. Otherwise it returns a false value.