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

TerAppendText

Append specified text at the end of the buffer.

bool TerAppendText( text, FontId, ParaId, repaint)
string text; string containing text to be appended.
int FontId;font id to use for the new text. Use -1 for the default value.
int ParaId;paragraph id to use for the new text. Use -1 for the default value.
bool repaint;Repaint the window after this operation

Description: This function adds the specified text at the end of the buffer. The current cursor position does not change after the insertion.

This is a very efficient function which can be used to rapidly build a document. This function does not attempt to wrap the text as they are being added. Your application should call the TerRewrap or TerRepaginate functions after making a series of calls to this function.

Return Value: This function returns true when successful.