프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CreateKeyEevent | YamuiFramework.HtmlRenderer.Core.Adapters.Entities.RKeyEvent | ||
CreateMouseEvent | RMouseEvent |
메소드 | 설명 | |
---|---|---|
Dispose ( ) : void | ||
GetAttributeAt ( Point location, string attribute ) : string |
Get attribute value of element at the given x,y location by given key.
|
|
GetElementRectangle ( string elementId ) : RectangleF? |
Get the rectangle of html element as calculated by html layout.
|
|
GetHtml ( HtmlGenerationStyle styleGen = HtmlGenerationStyle.Inline ) : string |
Get html from the current DOM tree with style if requested.
|
|
GetLinkAt ( Point location ) : string |
Get css link href at the given x,y location.
|
|
GetLinks ( ) : List |
Get all the links in the HTML with the element rectangle and href data.
|
|
HandleKeyDown ( |
Handle key down event for selection and copy.
|
|
HandleMouseDoubleClick ( |
Handle mouse double click to select word under the mouse.
|
|
HandleMouseDown ( |
Handle mouse down to handle selection.
|
|
HandleMouseLeave ( |
Handle mouse leave to handle hover cursor.
|
|
HandleMouseMove ( |
Handle mouse move to handle hover cursor and text selection.
|
|
HandleMouseUp ( |
Handle mouse up to handle selection and link click.
|
|
HtmlContainer ( ) : System |
Init.
|
|
PerformLayout ( |
Measures the bounds of box and children, recursively.
|
|
PerformPaint ( |
Render the html using the given device.
|
|
SetHtml ( string htmlSource, YamuiFramework.HtmlRenderer.Core.Core.CssData baseCssData = null ) : void |
Init with optional document and stylesheet.
|
메소드 | 설명 | |
---|---|---|
CreateKeyEevent ( |
Create HtmlRenderer key event from win forms key event.
|
|
CreateMouseEvent ( MouseEventArgs e ) : RMouseEvent |
Create HtmlRenderer mouse event from win forms mouse event.
|
public GetAttributeAt ( Point location, string attribute ) : string | ||
location | Point | the location to find the attribute at |
attribute | string | the attribute key to get value by |
리턴 | string |
public GetElementRectangle ( string elementId ) : RectangleF? | ||
elementId | string | the id of the element to get its rectangle |
리턴 | RectangleF? |
public GetHtml ( HtmlGenerationStyle styleGen = HtmlGenerationStyle.Inline ) : string | ||
styleGen | HtmlGenerationStyle | Optional: controls the way styles are generated when html is generated (default: |
리턴 | string |
public GetLinkAt ( Point location ) : string | ||
location | Point | the location to find the link at |
리턴 | string |
public HandleKeyDown ( |
||
parent | the control hosting the html to invalidate | |
e | the pressed key | |
리턴 | void |
public HandleMouseDoubleClick ( |
||
parent | the control hosting the html to set cursor and invalidate | |
e | MouseEventArgs | mouse event args |
리턴 | void |
public HandleMouseDown ( |
||
parent | the control hosting the html to invalidate | |
e | MouseEventArgs | the mouse event args |
리턴 | void |
public HandleMouseLeave ( |
||
parent | the control hosting the html to set cursor and invalidate | |
리턴 | void |
public HandleMouseMove ( |
||
parent | the control hosting the html to set cursor and invalidate | |
e | MouseEventArgs | the mouse event args |
리턴 | void |
public HandleMouseUp ( |
||
parent | the control hosting the html to invalidate | |
e | MouseEventArgs | the mouse event args |
리턴 | void |
public PerformLayout ( |
||
g | Device context to draw | |
리턴 | void |
public PerformPaint ( |
||
g | the device to use to render | |
리턴 | void |
public SetHtml ( string htmlSource, YamuiFramework.HtmlRenderer.Core.Core.CssData baseCssData = null ) : void | ||
htmlSource | string | the html to init with, init empty if not given |
baseCssData | YamuiFramework.HtmlRenderer.Core.Core.CssData | optional: the stylesheet to init with, init default if not given |
리턴 | void |