CreateRenderer Method (RenderingApplication Object)

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.