AVEVA OMI Software Developer Kit



Html to load.
Base address. The baseUrl can be used to convert partial path into the full path. For example, the HTML may contain partial path such as 'img src="logo.gif"'. In that case, the browser engine would not be able to construct the full path of the image unless the baseUrl is provided.
LoadHtml Method (WebControl)
Loads given HTML. It is more like setting document.body.outerHTML instead of a real load. It doesn't show up in navigation history either. So it is treated much more like "modifying the current document" rather than loading a new document.
Syntax
'Declaration
 
Public Sub LoadHtml( _
   ByVal html As String, _
   ByVal baseAddress As String _
) 
'Usage
 
Dim instance As WebControl
Dim html As String
Dim baseAddress As String
 
instance.LoadHtml(html, baseAddress)
public void LoadHtml( 
   string html,
   string baseAddress
)
public:
void LoadHtml( 
   String^ html,
   String^ baseAddress
) 

Parameters

html
Html to load.
baseAddress
Base address. The baseUrl can be used to convert partial path into the full path. For example, the HTML may contain partial path such as 'img src="logo.gif"'. In that case, the browser engine would not be able to construct the full path of the image unless the baseUrl is provided.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also