Property | Type | Description | |
---|---|---|---|
HtmlAmp | string | ||
HtmlSpace | string | ||
HtmlTagClose | string | ||
HtmlTagOpen | string |
Method | Description | |
---|---|---|
AddToSelection ( string s_BeginHtml, string s_EndHtml ) : bool |
1) If nothing is selected returns false 2) If the user has selected text or multiple elements inserts s_BeginHtml before and s_EndHtml behind the current selection 3)If the user has selected a control returns false
|
|
AppendAnchor ( string href, string target ) : bool | ||
AppendChild ( IHTMLElement parent, string TagName ) : IHTMLDOMNode |
Creates and appends an HTMLElement to a parent element
|
|
AppendChild ( string TagName ) : IHTMLDOMNode |
Creates and appends an HTMLElement to the end of the document DOM
|
|
AppendHr ( string align, string hrcolor, string width, bool noshade ) : bool | ||
AppendImage ( string src, string width, string height, string border, string alignment, string alt, string hspace, string vspace, string lowsrc ) : bool | ||
AppendTable ( int colnum, int rownum, int bordersize, string alignment, int cellpadding, int cellspacing, string widthpercentage, int widthpixel, string backcolor, string bordercolor, string lightbordercolor, string darkbordercolor ) : bool | ||
DeleteCol ( IHTMLTable table, int colindex ) : void | ||
DeleteRow ( IHTMLTable table, int rowindex ) : void |
Deletes a given rowindex in a given table zero based If the table has no rows after deletion anymore we delete it compeletely
|
|
EmbedBr ( ) : bool |
Embeds a BR tag at the selection
|
|
FindParent ( IHTMLElement elem, string ParentTagName ) : IHTMLElement |
Searches for a parent (or grandparent) element with the given tag ParentTagName must be in the form "TD" "TR" "TABLE" (uppercase)
|
|
GetCaretPosition ( ) : |
Attempts to retreive Caret position
|
|
GetCharIndexFromPos ( int clientX, int clientY ) : int |
Attempts to retreive char index from given X and Y coordinates relative to the body content. The point must be in client coordinates
|
|
GetColCount ( IHTMLTable table, int rowindex ) : int |
Gets the column count of row(rowindex) Accounts for colSpan property
|
|
GetColIndex ( IHTMLTableCell cell ) : int |
Get the column of the current cell zero based
|
|
GetDocumentColor ( DocumentColors whichcolor ) : System.Drawing.Color | ||
GetParentRow ( IHTMLElement cellelem ) : IHTMLTableRow |
Returns parent row of passed cell element
|
|
GetParentTable ( IHTMLElement cellelem ) : IHTMLTable |
Returns parent table of passed cell element
|
|
GetPosFromCharIndex ( int charindex ) : |
Attempts to retreive a character position relative to the body content based on the character index.
|
|
GetRow ( IHTMLTable table, int rowindex ) : IHTMLTableRow |
Zero based
|
|
GetRowCount ( IHTMLTable table ) : int | ||
GetRowIndex ( IHTMLElement cellelem ) : int | ||
GetWordUnderMouse ( int clientX, int clientY ) : string |
Attempts to retrive a word located under mouse pointer relative to body content
|
|
HTMLEditHelper ( ) : System | ||
InsertCol ( IHTMLTable table, int index ) : void | ||
InsertHTML ( IHTMLElement elem, string s_Html, bool b_AtBegin, bool b_Inside ) : void |
Inserts the given HTML code inside or outside of this Html element There are 4 possible insert positions: Outside-Before
|
|
InsertRow ( IHTMLTable table, int index, int numberofcells ) : void | ||
IsElementEmpty ( IHTMLElement elem ) : bool |
Return TRUE if the element is empty inside (e.g. )
|
|
NextSibiling ( IHTMLDOMNode node ) : IHTMLElement |
Returns the right neighbour which is a IHTMLElement in the HTML hierarchy
|
|
PasteIntoSelection ( string s_Html ) : bool |
The currently selected text/controls will be replaced by the given HTML code. If nothing is selected, the HTML code is inserted at the cursor position
|
|
PreviousSibling ( IHTMLDOMNode node ) : IHTMLElement |
Returns the left neighbour which is a IHTMLElement in the HTML hierarchy
|
|
RemoveNode ( IHTMLElement elem, bool RemoveAllChildren ) : IHTMLDOMNode |
Removes node element If RemoveAllChildren == true, Removes this element and all it's children from the document else it just strips this element but does not remove its children E.g. "Hello World" ---> strip BIG tag --> "Hello World"
|
|
RemoveUnderline ( IHTMLElement elem, IHighlightSegment ihs ) : void | ||
Row_DeleteCol ( IHTMLTableRow row, int index ) : void | ||
Row_GetCell ( IHTMLTableRow row, int index ) : IHTMLTableCell | ||
Row_GetCellCount ( IHTMLTableRow row ) : int | ||
Row_InsertCell ( IHTMLTableRow row, int index ) : IHTMLElement | ||
Row_InsertCell ( IHTMLTableRow row, int index, string cellwidth ) : IHTMLElement | ||
Row_InsertCol ( IHTMLTableRow row, int index ) : IHTMLElement | ||
SetCursorAtElementStart ( IHTMLElement elem ) : bool |
Attempts to set the cursor at the start of the given html element The element must be a textual element such as P
|
|
SetSelectionTextFromClipboard ( ) : bool |
Attempts to set the selection text from clipboard
|
|
UnderLineWord ( int wordindex, int wordlen ) : void |
Attempts to find and highlight a word based on it's index and wordlen within body element
|
|
UnderLineWord2 ( IHTMLTxtRange range ) : IHighlightSegment | ||
Underline ( IHTMLElement elem ) : void |
Attempts to underline a given element To change the highlighting style, please refer to HTMLRenderStyle_xxxxxxx properties
|
|
Underline2 ( IHTMLElement elem ) : IHighlightSegment |
Underline variation which returns IHighlightSegmentinstance
|
Method | Description | |
---|---|---|
CalculateCellWidths ( int numberofcols ) : void |
public AddToSelection ( string s_BeginHtml, string s_EndHtml ) : bool | ||
s_BeginHtml | string | |
s_EndHtml | string | |
return | bool |
public AppendAnchor ( string href, string target ) : bool | ||
href | string | |
target | string | |
return | bool |
public AppendChild ( IHTMLElement parent, string TagName ) : IHTMLDOMNode | ||
parent | IHTMLElement | |
TagName | string | a, img, table,... |
return | IHTMLDOMNode |
public AppendChild ( string TagName ) : IHTMLDOMNode | ||
TagName | string | a, img, table,... |
return | IHTMLDOMNode |
public AppendHr ( string align, string hrcolor, string width, bool noshade ) : bool | ||
align | string | |
hrcolor | string | |
width | string | |
noshade | bool | |
return | bool |
public AppendImage ( string src, string width, string height, string border, string alignment, string alt, string hspace, string vspace, string lowsrc ) : bool | ||
src | string | |
width | string | |
height | string | |
border | string | |
alignment | string | |
alt | string | |
hspace | string | |
vspace | string | |
lowsrc | string | |
return | bool |
public AppendTable ( int colnum, int rownum, int bordersize, string alignment, int cellpadding, int cellspacing, string widthpercentage, int widthpixel, string backcolor, string bordercolor, string lightbordercolor, string darkbordercolor ) : bool | ||
colnum | int | |
rownum | int | |
bordersize | int | |
alignment | string | |
cellpadding | int | |
cellspacing | int | |
widthpercentage | string | |
widthpixel | int | |
backcolor | string | |
bordercolor | string | |
lightbordercolor | string | |
darkbordercolor | string | |
return | bool |
public DeleteCol ( IHTMLTable table, int colindex ) : void | ||
table | IHTMLTable | |
colindex | int | |
return | void |
public DeleteRow ( IHTMLTable table, int rowindex ) : void | ||
table | IHTMLTable | |
rowindex | int | |
return | void |
public FindParent ( IHTMLElement elem, string ParentTagName ) : IHTMLElement | ||
elem | IHTMLElement | |
ParentTagName | string | |
return | IHTMLElement |
public GetCharIndexFromPos ( int clientX, int clientY ) : int | ||
clientX | int | |
clientY | int | |
return | int |
public GetColCount ( IHTMLTable table, int rowindex ) : int | ||
table | IHTMLTable | |
rowindex | int | |
return | int |
public GetColIndex ( IHTMLTableCell cell ) : int | ||
cell | IHTMLTableCell | |
return | int |
public GetDocumentColor ( DocumentColors whichcolor ) : System.Drawing.Color | ||
whichcolor | DocumentColors | |
return | System.Drawing.Color |
public GetParentRow ( IHTMLElement cellelem ) : IHTMLTableRow | ||
cellelem | IHTMLElement | |
return | IHTMLTableRow |
public GetParentTable ( IHTMLElement cellelem ) : IHTMLTable | ||
cellelem | IHTMLElement | |
return | IHTMLTable |
public GetPosFromCharIndex ( int charindex ) : |
||
charindex | int | |
return |
public GetRow ( IHTMLTable table, int rowindex ) : IHTMLTableRow | ||
table | IHTMLTable | |
rowindex | int | |
return | IHTMLTableRow |
public GetRowCount ( IHTMLTable table ) : int | ||
table | IHTMLTable | |
return | int |
public GetRowIndex ( IHTMLElement cellelem ) : int | ||
cellelem | IHTMLElement | |
return | int |
public GetWordUnderMouse ( int clientX, int clientY ) : string | ||
clientX | int | Left cocordinates based relative to client |
clientY | int | Top cocordinates based relative to client |
return | string |
public InsertCol ( IHTMLTable table, int index ) : void | ||
table | IHTMLTable | |
index | int | |
return | void |
public InsertHTML ( IHTMLElement elem, string s_Html, bool b_AtBegin, bool b_Inside ) : void | ||
elem | IHTMLElement | |
s_Html | string | |
b_AtBegin | bool | |
b_Inside | bool | |
return | void |
public InsertRow ( IHTMLTable table, int index, int numberofcells ) : void | ||
table | IHTMLTable | |
index | int | |
numberofcells | int | |
return | void |
public IsElementEmpty ( IHTMLElement elem ) : bool | ||
elem | IHTMLElement | |
return | bool |
public NextSibiling ( IHTMLDOMNode node ) : IHTMLElement | ||
node | IHTMLDOMNode | |
return | IHTMLElement |
public PasteIntoSelection ( string s_Html ) : bool | ||
s_Html | string | |
return | bool |
public PreviousSibling ( IHTMLDOMNode node ) : IHTMLElement | ||
node | IHTMLDOMNode | |
return | IHTMLElement |
public RemoveNode ( IHTMLElement elem, bool RemoveAllChildren ) : IHTMLDOMNode | ||
elem | IHTMLElement | |
RemoveAllChildren | bool | |
return | IHTMLDOMNode |
public RemoveUnderline ( IHTMLElement elem, IHighlightSegment ihs ) : void | ||
elem | IHTMLElement | |
ihs | IHighlightSegment | |
return | void |
public Row_DeleteCol ( IHTMLTableRow row, int index ) : void | ||
row | IHTMLTableRow | |
index | int | |
return | void |
public Row_GetCell ( IHTMLTableRow row, int index ) : IHTMLTableCell | ||
row | IHTMLTableRow | |
index | int | |
return | IHTMLTableCell |
public Row_GetCellCount ( IHTMLTableRow row ) : int | ||
row | IHTMLTableRow | |
return | int |
public Row_InsertCell ( IHTMLTableRow row, int index ) : IHTMLElement | ||
row | IHTMLTableRow | |
index | int | |
return | IHTMLElement |
public Row_InsertCell ( IHTMLTableRow row, int index, string cellwidth ) : IHTMLElement | ||
row | IHTMLTableRow | |
index | int | |
cellwidth | string | |
return | IHTMLElement |
public Row_InsertCol ( IHTMLTableRow row, int index ) : IHTMLElement | ||
row | IHTMLTableRow | |
index | int | |
return | IHTMLElement |
public SetCursorAtElementStart ( IHTMLElement elem ) : bool | ||
elem | IHTMLElement | |
return | bool |
public SetSelectionTextFromClipboard ( ) : bool | ||
return | bool |
public UnderLineWord ( int wordindex, int wordlen ) : void | ||
wordindex | int | |
wordlen | int | |
return | void |
public UnderLineWord2 ( IHTMLTxtRange range ) : IHighlightSegment | ||
range | IHTMLTxtRange | |
return | IHighlightSegment |
public Underline ( IHTMLElement elem ) : void | ||
elem | IHTMLElement | |
return | void |
public Underline2 ( IHTMLElement elem ) : IHighlightSegment | ||
elem | IHTMLElement | |
return | IHighlightSegment |