COM object EvRegionClassesCollection

EvApplication>EvFileCollection > EvFile > EvRegionClassesCollection

 

View the COM map and the COM summary.

The EvRegionClassesCollection object gives you access to information about and the ability to add and delete a region class. A region class is an item in the EvRegionClassesCollection, which is accessed via the EvFile.RegionClasses[] property.

The EvRegionClass object allows you to find specific information about a region class.

EvRegionClassesCollection methods and properties:

Add
Count
Delete
FindByName
Item

 

Description

Add

Add(string Name)

Summary

Create a new region class and add it to the collection.

Parameters
  • Name
  • The name of the new region class to be added.
Return

None.

Count

(read-only) integer Count

Summary

Get the number of region classes in the collection.

Delete

Delete(EvRegionClass ClassToDelete)

Summary

Delete a given region class from the collection.

Parameters
  • ClassToDelete
  • The EvRegionClass object to be deleted from the collection.
Return

None.

FindByName

FindByName(string RegionClassName)

Summary

Find the Region Class object specified by RegionClassName in the RegionClassesCollection.

Return

Null if RegionClassName can not be found.

Item

(read-only) Item[]

Summary

Gives access to a specific region class in the EvRegionClassesCollection by index. Indexes are zero-based, so valid indexes are from 0 to Count-1. The result is an EvRegion object.

Item is the default property for this interface. The examples on the EvFileCollection page show several ways to use the Item property.

See also

Scripting with COM objects
COM object hierarchy
EvRegionClass object
EvRegion object
EvRegionsCollection