|
EvApplication > EvFile > EvVariablesCollection > EvVariableBase View the Echoview COM object hierarchy and the Echoview summary of COM objects. |
The EvVariableBase object gives access to information on and actions for a variable in an EV file.
You can use the EvVariableBase object to determine if the variable is an acoustic variable or a virtual variable. With this knowledge you can proceed to use the methods and properties of the EvVariableAcoustic object or the EvVariableVirtual object.
The EvFile.Variables[] property lists all of the variables in an EV file and is an EvVariablesCollection.
The following EvVariable base methods and properties are detailed below:
|
AsVariableBase |
FullName |
EvVariableBase implements the following methods and properties:
|
Description |
|
|
AsVariableBase |
AsVariableBase() SummaryDetermines if the variable is a base variable. All variables come under the base variable grouping so this method will always return EvVariableBase. ParametersNone. ReturnEvVariableBase. |
|
AsVariableAcoustic |
AsVariableAcoustic() SummaryDetermines if the variable is an acoustic variable. ParametersNone. Return
|
| AsVariableVirtual |
AsVariableVirtual() SummaryDetermines if the variable is a virtual variable. ParametersNone. Return
|
|
ExportData |
ExportData(string FileName, int FirstPing, int LastPing) SummaryExport the data for the current variable. ExportData includes support for acoustic, position, attitude and distance variables. Parameters
ReturnIf successful.
|
|
ExportTrackToImage |
ExportTrackToImage(string FileName, int WidthInPixels, int HeightInPixels) SummaryExport the Cruise track or Along track cruise track window as an image. Note: You can also export an image of a selection from an acoustic variable. Parameters
ReturnIf successful. Example |
|
Description |
|
|
FullName |
(read-only) string FullName SummaryGets the full name of a variable, disregarding any short name. |
|
Name |
(read-only) string Name SummaryGets the name of a variable, or the short name if set. |
|
ShortName |
(read-write) string ShortName SummaryGets and sets the short name of a variable. |
|
Useable |
(read-only) boolean Useable SummaryReturns an indication as to whether the variable can be used or not.
|
|
VariableType |
(read-only) VariableType SummaryReturns an enum representing the type of variable that is represented by this object. |
Scripting with COM objects
EvVariableAcoustic
EvVariableVirtual
EvVariablesCollection