Platform SDK: CDO 1.2.1

Formats Collection Object

The Formats collection object contains zero or more formats for a rendering.

At a Glance

Specified in type library: CDOHTML.DLL
First available in: CDO Rendering Library version 1.1
Parent objects:
ContainerRenderer
ObjectRenderer
RenderingApplication
Child objects: Format
Default property: Item

A Formats collection supports count and index values that let you access an individual Format object through the Item property. The Formats collection also supports the Microsoft® Visual Basic® For Each statement.

Properties


Name
Available since version
Type

Access
Class 1.1 Long Read-only
Count 1.1 Long Read-only
Item 1.1 Format object Read-only
Parent 1.1 ContainerRenderer object or ObjectRenderer object Read-only

Methods


Name
Available since version
Parameters
Add 1.1 varProperty as Variant,
(optional) varName as String

Remarks

The Formats collection object controls how the values of certain properties are rendered. A property represented by a Format object in the collection is rendered according to the patterns in that format. Every property to be rendered can be represented by at most one Format object.