Platform SDK: CDO 1.2.1 |
There are two kinds of renderer objects (or “renderers”): the ObjectRenderer object and the ContainerRenderer object. Using them in conjunction with Format objects provides the flexibility of displaying information in an interpreted manner.
The rendering of each property of an object is controlled by the various formats contained in the renderer object. By creating a renderer in advance and presetting its properties, you can prepare for rendering an object that later will become or may become the data source. For more information, see When to Create Renderer Objects.
In general, after creating the renderer and setting its formats and data source, you call the Render method. When you call the rendering object’s Render method, it generates HTML in a stream that makes up a page about to be sent to the browser.