|
EvApplication > EvFile > EvRegion View the Echoview COM object hierarchy and the Echoview summary of COM objects. |
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.
The following EvRegion methods and properties are detailed below:
|
ExportDefinition |
Name |
EvRegion implements the following methods and properties:
|
Description |
|
|
ExportDefinition |
boolean ExportDefinition(string FileName) SummaryExport the definition of this region to the given filename. Note: See also EvFile.Regions.ExportDefinitions. Parameters
ReturnTrue if successful. |
|
Classify |
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
|
|
ShiftDepth |
boolean ShiftDepth(double Factor, double Offset) SummaryShift the depth of the region using the settings in the Region manager. Parameters
ReturnTrue when region depth is shifted. Example
|
|
ShiftTime |
boolean ShiftTime(integer Days, integer Hours, integer Minutes, integer Seconds, integer MilliSeconds) SummaryShift the time of the region using the settings in the Region manager. Parameters
ReturnTrue when region time is shifted. ExampleRefer to ShiftDepth (above). |
|
Description |
|
|
Name |
(read-write) string Name SummaryGet or set the name of the region. Note: When two regions have the same name, the first one found is used. |
|
RegionType |
(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. |
|
Notes |
(read-write) string Notes SummaryGet or set the region notes. |
|
StartTime |
(read-only) DATE1 StartTime SummaryGet the start time of the region. |
|
EndTime |
(read-only) DATE1 EndTime SummaryGet the end time of the region. |
|
RegionClass |
(read-write) EvRegionClass RegionClass SummaryGet the EvRegionClass object associated with the region. |
|
Kind |
(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. |
1Microsoft Office DATE or Microsoft Visual Studio 2005/.NET Framework 2.0 DATE
Scripting with COM objects
EvRegionsCollection
EvRegionClass object
EvRegionClassesCollection