RenderingApplication Object

The RenderingApplication object provides a framework and support for specific rendering objects.

At a Glance

Specified in type library: CDOHTML.DLL
First available in: CDO Rendering Library version 1.1
Parent objects: (none)
Child objects:
ContainerRenderer
Formats collection
ObjectRenderer
Default property: (none)

Properties


Name
Available since version
Type

Access
Class 1.1 Long Read-only
CodePage 1.1 Long, Object, or String Read/write
ConfigParameter 1.1 Variant Read-only
Formats 1.1 Formats collection object Read-only
FormsRoot 1.1 String Read/write
ImpID 1.2 Long Read-only
LCID 1.1 Long Read-only
LoggingLevel 1.1 Long Read/write
Name 1.1 String Read/write
Parent 1.1 Object; set to Nothing Read-only
Version 1.1 String Read-only
VirtualRoot 1.1 String Read/write

Methods


Name
Available since version
Parameters
CreateRenderer 1.1 iClass as Integer
Impersonate 1.2 dwImpID as Long
ListComposeForms 1.2 bstrLinkPattern as String
LoadConfiguration 1.1 eSource as Integer,
bstrSection as String,
(optional) varSession as Object

Remarks

The RenderingApplication object provides a framework for a rendering application. You can set options on the RenderingApplication object that are inherited by all rendering objects created by the CreateRenderer method. The interface instantiated by the RenderingApplication object also provides for event logging and performance monitoring.

A RenderingApplication object is considered a top-level object, meaning it can be created directly from a Microsoft® Visual Basic® program. In the CDO Rendering Library it has a ProgID of AMHTML.Application. This code fragment creates a RenderingApplication object through early binding:

Dim objRendApp As RenderingApplication 
Set objRendApp = CreateObject ("AMHTML.Application") 
 

This code fragment creates a RenderingApplication object through late binding:

Dim objRendApp As Object 
Set objRendApp = CreateObject ("AMHTML.Application") 
 

Generally, early binding is preferable, because it enforces type checking and generates more efficient code. Note that you specify the full ProgID "AMHTML.Application" instead of just "Application" in order to distinguish a CDO Rendering application from other types of applications available to a Visual Basic program through other object libraries.