CreateRenderer Method (RenderingApplication Object)

CreateRenderer Method (RenderingApplication Object)

Important  The Collaboration Data Objects (CDO) 1.2.1 Rendering objects are not installed by or supported for use with Exchange Server 2003 or later.

The CreateRenderer method creates a rendering object attached to the rendering application.

Syntax

Set objRenderer = objRendApp.CreateRenderer(iClass)

objRenderer

On successful return, contains the new rendering object.

objRendApp

Required. The RenderingApplication object.

iClass

Required. Integer. The class of rendering object to create. The iClass parameter can have exactly one of the following values:

iClass setting

Decimal value

Meaning

CdoClass ContainerRenderer

3

Create a ContainerRenderer object.

CdoClass ObjectRenderer

2

Create an ObjectRenderer object.

Remarks

The rendering object created by the CreateRenderer method inherits the code page and formats from this application, as well as logging capability. You could create a container renderer or object renderer directly by calling the Microsoft® Visual Basic® CreateObject function, but you would sacrifice the inheritance.

See Also

Concepts

RenderingApplication Object