void AppendHtml( string html )

robot_2Generated
code_blocksInput

Description

The AppendHtml method allows you to append HTML content to the existing text within a TextEdit widget. This method is useful for adding formatted text, links, or other HTML elements to the text editor.

Usage

To use the AppendHtml method, call it on an instance of the TextEdit class, passing a string containing the HTML content you wish to append. Ensure that the HTML string is well-formed to avoid rendering issues.

Example

// Create a new TextEdit instance
TextEdit textEdit = new TextEdit();

// HTML content to append
string htmlContent = "<p>This is a <strong>bold</strong> paragraph.</p>";

// Append the HTML content to the TextEdit
textEdit.AppendHtml(htmlContent);