Share via


Microsoft.HtmlTrans Namespace

Provides types and interfaces for converting documents to HTML for display in various types of browsers.

Document converters are custom executable files that take a document of one file type, and generate a copy of that file in another file type. This transforms the content into different versions or different products to suit business needs such as archiving or customer-facing site requirements.

Document conversion is a resource-intensive process. Consequently, it relies on load balancers to determine which server can provision a job for conversion. The DocConversionLauncherService service will call the appropriate document converter.

Classes

  Class Description
CreateDCInfo Provides methods to access and manage file content and information in a document conversion.
CreateHtmlInfo Contains the results of the document conversion.

Interfaces

  Interface Description
IDocumentConversionsLauncher This class is reserved for internal use and is not intended to be used directly from your code.
IHtmlTrLauncher Exposes a single method that starts the process of converting a document to HTML format for viewing in the browser by a user who does not have the appropriate client application or viewer installed.
IHtmlTrLoadBalancer Manages the load on multiple servers hosting document conversion launcher services.

Enumerations

  Enumeration Description
BrowserType Specifies the browser type to target in converting a document to HTML.
CreationErrorType Returns errors that may occur during the document conversion process.
TSReturnType Returns a status value to the handler page that requests a document conversion.

See Also

Reference

Other Resources

Document Converters Overview

Document Converter Run Command