"insertParagraph"
Adds a paragraph to a textEdit document at the given position.
Synopsis
void insertParagraph(string text, int para);
Parameters
Parameter | Description |
---|---|
text | The text to be added |
para | The X position |
Description
Adds a paragraph to a textEdit document at the given position.
Example
Adds a paragraph to a textEdit document at the given position 8:
main()
{
TEXT_EDIT1.insertParagraph("New paragraph",8);
}
Assignment
textEdit