|Manuals

HTMLDoc Class

Overview

The HTMLDoc class manages VirtualUI development server properties and facilitates access from the developer’s web browser.

Class Hierarchy

Syntax

public class HTMLDoc : IHTMLDoc, IDisposable;

Location

Implemented Interfaces

The class implements two interfaces:

  • IHTMLDoc: Defines the contract for HTML document management
  • IDisposable: Enables the release of unmanaged resources

Notes

This class acts as an intermediary between the VirtualUI development server and the developer’s web browser requests, providing centralized control over the necessary properties and configurations.

Members

Type Link
Constructor HTMLDoc()
Methods Methods

Methods

Method Description
Constructor Creates a new instance of HTMLDoc
CreateComponent (IntPtr) Inserts HTML content including WebComponents
CreateComponent (Int64) Inserts HTML content including WebComponents
GetSafeUrl Provides access to disk files via a safe, temporary URL
GetSafeUrl (int) Provides access to disk files via a safe, temporary URL with time limit
ImportHTML Imports HTML content from a URL
ImportHTML (string) Imports an HTML file from disk
LoadScript Loads a script from a URL
LoadScript (string) Loads a script from a file
Dispose Releases resources used by the instance
CreateSessionURL Generates a session-valid URL pointing to a local file