Formats Property (ObjectRenderer Object)
Topic Last Modified: 2004-06-09
Set objFormats = objObjectRend.Formats
Set objFormat = objObjectRend.Formats(index)
Set objFormat = objObjectRend.Formats(name)
Object. The Formats collection of this object renderer.
Required. The ObjectRenderer object.
Object. An individual Format object belonging to this object renderers Formats collection.
Integer. An index into the object renderers Formats collection.
String. The reference name of a special-purpose Format object in the collection.
Object (Format or Formats collection)
Each format in the collection corresponds to a single property, except for special-purpose formats, which do not represent specific properties. Every property to be rendered should be represented by exactly one Format object.
If a Format object is to be accessed with the index parameter, the value of index must be between 1 and the size of the object renderers Formats collection. This size is available in the collections Count property.
Although the Formats property itself is read-only, the collection it returns can be accessed in the normal manner through its Add method, and the properties on its member Format objects retain their respective read/write or read-only accessibility.