SPECTR_ENH_GENERAL_SETTINGS structure |
|
The SPECTR_ENH_GENERAL_SETTINGS structure (defined as SPECTR_ENH_GENERAL_SETTINGS_DLL when used for COM interoperability) describes the general graphical settings applied to a specific enhanced spectrum analyzer. The current settings can be obtained through the SpectrumEnh.SettingsGeneralGet method and modified through the SpectrumEnh.SettingsGeneralSet method.
For further details about using the embedded Enhanced Spectrum Analyzer refer to the SpectrumEnh class section.
For details about using the Enhanced Spectrum Analyzer refer to the How to use the Enhanced Spectrum Analyzer tutorial.
C# definition
public struct SPECTR_ENH_GENERAL_SETTINGS
{
public bool bAppearance3d;
public Int32 nResolution;
public enumSpectrumEnhTypes nGraphType;
public enumSpectrumEnhWindowTypes nFFTWindowType;
public bool bFreqGridVisible;
public bool bDbGridVisible;
public bool bSubGridVisible;
public bool bBackBitmapVisible;
public bool bBackBitmapStretch;
public Color colorBackground;
public Color colorFreqGrid;
public Color colorDbGrid;
public Color colorSubGrid;
}
Definition for COM interoperability
public struct SPECTR_ENH_GENERAL_SETTINGS_DLL
{
public Int16 bAppearance3d;
public Int32 nResolution;
public Int32 nGraphType;
public Int32 nFFTWindowType;
public Int16 bFreqGridVisible;
public Int16 bDbGridVisible;
public Int16 bSubGridVisible;
public Int16 bBackBitmapVisible;
public Int16 bBackBitmapStretch;
public Int32 colorBackground;
public Int32 colorFreqGrid;
public Int32 colorDbGrid;
public Int32 colorSubGrid;
}
Member |
Description |
|||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if the spectrum analyzer is displayed with 3D borders. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Resolution in bytes of audio PCM data for FFT calculation (the value must be power of 2). Default is set to 2048 bytes. |
||||||||||||||||||||||||||||||||||||||||||||||
Type of graphic representation. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Type of window for FFT calculation. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if the frequency grid is visible. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if the decibels grid is visible. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if sub-grids are visible. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if an eventual background image (bitmap) is visible. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if an eventual background image (bitmap) should be stretched to fit the spectrum analyzer background area. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
The color used for rendering the background of the spectrum analyzer. |
||||||||||||||||||||||||||||||||||||||||||||||
The color used for rendering the frequency grid |
||||||||||||||||||||||||||||||||||||||||||||||
The color used for rendering the decibels grid |
||||||||||||||||||||||||||||||||||||||||||||||
The color used for rendering sub-grids |
Below you can see a zoomed image of the enhanced spectrum analyzer with some of the configurable elements evidenced: