The CreateRenderer method creates a rendering object attached to the rendering application.
Set objRenderer = objRendApp.CreateRenderer(iClass)
iClass setting |
Decimal value |
Meaning |
---|---|---|
CdoClass ContainerRenderer |
3 | Create a ContainerRenderer object. |
CdoClass ObjectRenderer |
2 | Create an ObjectRenderer object. |
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.