Platform SDK: CDO 1.2.1 |
The Patterns property returns a single Pattern object or a Patterns collection belonging to this format. Read-only.
Set objPatterns = objFormat.Patterns
Set objPattern = objFormat.Patterns(index)
Object (Pattern or Patterns collection)
Each pattern in the collection specifies rendering for a particular set of values of the property represented by the Format object.
If a Pattern object is to be accessed with the index parameter, the value of index must be between 1 and the size of the format’s Patterns collection. This size is available in the collection’s Count property.
Although the Patterns 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 Pattern objects retain their respective read/write or read-only accessibility.