#_HtmlDocument

C
:Link
:

s
:Title
:

s
Draw
m

(X)i(Y)i(Width)i(Height)i
FindAnchor
m
i
(Anchor)s
LoadCss
m

(Css)s
OnLeave
m


OnMouseDown
m

ii
OnMouseMove
m

ii
OnMouseUp
m

ii
Reload
m


Render
m

(Width)i(Height)i
SetDefaultFont
m

(Name)s(Size)i
SetMedia
m

(ScreenWidth)i(ScreenHeight)i(Resolution)i
SetMonospaceFont
m

(Name)s
_free
m


_new
m


DarkTheme
p
b

Html
p
s

Base
r
s

H
r
i

Height
r
i

Link
r
s

W
r
i

Width
r
i

#HtmlView
UserControl
C
'This class provides a lightweight HTML/CSS viewer.
'
'It supports most Of the HTML5 / CSS3 syntax.
_Properties
C
s
"*,Border=True,MonospaceFont{Font:Fixed}"
_Group
C
s
"View"
_DrawWith
C
s
"DrawingArea"
:Title
:

(Title)s
'This event is raised when the title of the page is defined.
'
'- ~Title~: The page title
:Link
:

(Url)s
'This event is raised when an URL can't be handled automatically by the HtmlView.
'
'- ~Url~: The URL that must be handled specifically.
Url
p
s

'Return or set the URL displayed by the view.
Html
p
s

'Return or set the HTML contents of the HtmlView.
Border
p
b

'Return or set if the control has a border.
Dir
p
s

'Return or set the root part used by relative URLs.
Zoom
p
f

'Return or set the view zoom factor.
MonospaceFont
p
Font

'Return or set the HTML "monospace" font.
_new
m


'Create a new HtmlView control.
View_Font
m


Reload
m


'Reload the view contents.
View_Arrange
m


View_Draw
m


View_MouseMove
m


View_MouseDown
m


View_MouseUp
m


View_Scroll
m


LoadCss
m

[(Css)s]
'Load the default CSS into the view.
'
'- ~Css~: Optional CSS added to the default CSS.
Load
m

(Path)s
'Load a HTML file inside the view.
'
'- ~Path~: The path of the HTML file.
_SetTitle
m

(sTitle)s
_RefreshView
m

(X)i(Y)i(W)i(H)i
_SetCursor
m

(sCursor)s
HtmlViewDocument_Link
m

(sLink)s
HtmlViewDocument_Title
m

(sTitle)s
_LoadImage
m
Image
(sUrl)s(sBase)s
Back
m
b

'Move back into the view history.
Forward
m


'Move forward into the view history.
_LoadCss
m
s
(sUrl)s(sBase)s
View_KeyPress
m


Clear
m


'Clear the view contents.
View_Leave
m


View_Change
m


