COM object EvRegion
|
EvApplication>EvFileCollection > EvFile > EvRegionsCollection > EvRegion
View the COM map and the COM summary. |
The EvRegion object gives you access to information about and the ability to modify an Echoview 2D region or 3D region.
The EvFile.Regions[] property lists all the regions in an EV file and is an EvRegionsCollection.
EvRegion classes:
EvRegion methods and properties:
Classify
EndTime
ExportDefinition
Id
Kind
Name
Notes
RegionType
ShiftDepth
ShiftTime
StartTime
|
|
Description |
|
boolean Classify(EvVariableAcoustic Variable) SummaryApply a classification-by-rule to a specified region in an acoustic variable. Notes:
Parameters
ReturnTrue when a region class has been changed. Example
|
|
|
(read-only) DATE1 EndTime SummaryGet the end time of the region. |
|
|
boolean ExportDefinition(string FileName) SummaryExport the definition of this region to the given filename. Note: See also EvFile.Regions.ExportDefinitions. Parameters
ReturnTrue if successful. |
|
|
(read-only) Id SummaryGet a region's unique ID number. The region ID number is visible on the Regions window and may be specified with region exports. An EvRegion.Name or region from EvRegionsCollection is required to access the region ID. EvRegion.Id has advantages over EvRegion.Name (regions can have the same name) or an index in EvRegionCollections (regions can be deleted and the index may change). Example
|
|
|
(read-only) ERegionKind Kind SummaryFind out which kind of region this is (a 2D region or 3D region). The output is an enum for ERegionKind. See also: Enum issue under VBS. |
|
|
(read-write) string Name SummaryGet or set the name of the region. Note: When multiple regions have the same name, the first one found is used. |
|
|
(read-write) string Notes SummaryGet or set the region notes. |
|
|
(read-write) EvRegionClass RegionClass SummaryGet the EvRegionClass object associated with the region. |
|
|
(read-write) ERegionType RegionType SummaryGet or set the type of the region by using an enum for ERegionType. Note: eFishTrack = 3 is available as read-only. See also: Enum issue under VBS. |
|
|
boolean ShiftDepth(double Factor, double Offset) SummaryShift the depth of the region using the settings in the Region Editor. Parameters
ReturnTrue when region depth is shifted. Example
|
|
|
boolean ShiftTime(integer Days, integer Hours, integer Minutes, integer Seconds, integer MilliSeconds) SummaryShift the time of the region using the settings in the Region Editor. Parameters
ReturnTrue when region time is shifted. ExampleRefer to ShiftDepth (above). |
|
|
(read-only) DATE1 StartTime SummaryGet the start time of the region. |
See also
Scripting with COM objects
COM object hierarchy
EvRegionsCollection
EvRegionClass object
EvRegionClassesCollection