PasteHtml
Pastes text in the HTML format into the document.
Syntax
expression.PasteHtml(htmlText);
expression
- A variable that represents a Api class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
htmlText | Required | string | A string value that specifies the text in the HTML format to be pasted into the document. |
Returns
This method doesn't return any data.
Example
window.Asc.plugin.executeMethod ("PasteHtml", ["<p><b>Plugin methods for OLE objects</b></p><ul><li>AddOleObject</li><li>EditOleObject</li></ul>"]);