The Formats collection object contains zero or more formats for a rendering.
| 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.
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 |
Name |
Available since version | Parameters |
|---|---|---|
| Add | 1.1 | varProperty as Variant, (optional) varName as String |
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.