Public Methods

  Name Description
Public method AdjustEditorHeight This method will reset the control's height so that the scrollbar is not needed to show the invisible/clipped content, rather expand or shrink the editor's height based on the visible content.
Public method AdjustEditorSize This method will resize the control so that the scrollbar is not needed to show the invisible/clipped content, rather expand or shrink the editor size based on the visible content.
Public method AdjustEditorWidth This method will reset the control's width so that the scrollbar is not needed to show the invisible/clipped content, rather expand or shrink the editor's width based on the visible content.
Public method CheckSpelling Pops up the Spell Checker dialog for checking spelling.
Public method EmbedImages Embeds the images.
Public method ExecCommand Wrapper around execCommand method to execute command
Public method Focus Focus to the editor.
Public method GetBodyText Gets the body text.
Public method GetCaretIndexInHtml Get the sequential Caret index in the html.
Public method GetCaretIndexInText Get the sequential Caret index in the text if the body.
Public method GetCaretPosition Gets the caret position.
Public method GetEditorContentXML Get XML representation of the BodyHtml or DocumentHtml property value.
Public method GetImageSrcs Get a string array of all unique Image Sources in the body Html. This is the collection of the value of src attribute of all <img tags in the body html.
Public method GetLinkHrefs Get a string array of all unique href links in the body Html. This is the collection of the value of href attribute of the <a tags in the body html.
Public method GetPlainText Gets the plain text.
Public method GetScrollPosition Gets the scroll position.
Public method GetSelectedHTML Get the selected HTML string of the displayed HTML Content.
Public method GetSelectedText Get the selected text of the displayed HTML Content.
Public method GetSelectedTextStartIndex Gets the index of the begining character of the selected text. This method is exactly same method as GetCaretIndexInText method.
Public method GetTextEditor Gets the instance of the internal text editor which is shown when EditSource property is set to true.
Public method InsertHtml This method will insert any HTML Text of String data type at the CARET POSITION without loosing the focus. In fact, this method is giving you the 100% full programming control to use your own html insert button and insert your desired html at the caret.
Public method Static InsertHtmlBetweenHead Inserts the HTML between head tag.
Public method InsertHtmlBetweenHead Inserts the HTML between head tag.
Public method InsertInputTextField This method will insert an Input Textfield at the cursor position.
Public method InsertScript If you find that some html insertion is not working with InsertHtml method then you can try using this method. Specially if you are trying to insert JavaScript for example, InsertHtml("<script language=JavaScript> var x=5; </script>"); then it may not work and thats why we have implemented this special method. For the mentioned string, if you use this method like InsertScript("<script language=JavaScript> var x=5; </script>"); then it will work. This method will insert any HTML Text of String data type at the CARET POSITION without loosing the focus. If you find that InsertHtml is working good for you, then it is not recommended that you use this method.
Public method InsertText This method will insert any text of String data type at the caret position.
Public method Static RemoveHtmlFromHead Removes the HTML from head.
Public method RemoveHtmlFromHead Removes the HTML from head.
Public method SaveEditorContentAsXml Save BodyHtml or DocumentHtml as XML file.
Public method Search Overloaded. Pops up the Search dialog for searching a text within the editor.
Public method SelectText Selects the text within the editor.
Public method SetBodyText Sets the body text.
Public method SetCaretPosition Overloaded. Sets the caret position.
Public method SetScrollPosition Overloaded. Sets the scroll position.
Top

See Also