COM object EvTransectGroupCollection

EvApplication > EvFileCollection > EvFile > EvTransectGroupCollection

 

View the COM map and the COM summary.

The EvTransectGroupCollection object allows you to access a selected transect group in the EV file. A transect group is an item in the EvTransectGroupCollection, which is accessed via the:

The EvTransectGroup object gives access to selected Transect Properties dialog box settings.

EvTransectGroupCollection methods and properties:

Count
Delete
FindByName
Import
Item

 

Description

Count

(read-only) integer Count

Summary

Get the number of transect groups in this collection.

Delete

Delete(EvTransectGroup)

Summary

Delete the specified transect group object.

Parameters
  • EvTransectGroup
  • A specified transect group from the EvTransectGroups collection and represented by the EvTransectGroup object.
Example

See also EvTransectGroup snippet.

FindByName

FindByName(string Name)

Summary

Searches for a transect group by its name, and if found returns the EvTransectGroup object for it.

Parameters
  • Name
  • The name to search for.
Return

If found, returns the EvTransectGroup object.

Example

EvTransectGroup sinppet

Import

EvTransectGroup Import(string FileURL)

Summary

Uses Echoview File menu, Import to import a transect group from a specified *.transects.csv file.

Parameters
  • FileURL
  • The file name and path of a *.transects.csv file.
Return

If successful, returns the EvTransectGroup object.

Example

EvTransectGroup snippet.

Item

(read-only) Item[]

Summary

Gives access to a specific transect group by index. Indexes are zero-based, so valid indexes are from 0 to Count-1. The result is an EvFile 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 EvTransectGroup snippet.

See also

Scripting with COM objects
COM object hierarchy