COM object EvRegionClassesCollection

EvApplication > EvFile > EvRegionClassesCollection

View the Echoview COM object hierarchy and the Echoview summary of COM objects.

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.

The following EvRegionClassesCollection methods and properties are detailed below:

Methods

Properties

FindByName
Add
Delete

Count
Item

EvRegionClassesCollection implements the following methods and properties:

EvRegionClassesCollection methods

Description

FindByName

FindByName(string RegionClassName)

Summary

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

Return

Null if RegionClassName can not be found.

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.

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.

 

EvRegionClassesCollection properties

Description

Count

(read-only) integer Count

Summary

Get the number of region classes in the collection.

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 EvFilesCollection page show several ways to use the Item property.

See also

Scripting with COM objects
EvRegionClass object
EvRegion object
EvRegionsCollection