Copyright © 2006-2019 MultiMedia Soft

SPECTR_ENH_RULERS_SETTINGS structure

Previous pageReturn to chapter overviewNext page

The SPECTR_ENH_RULERS_SETTINGS structure (defined as SPECTR_ENH_RULERS_SETTINGS_DLL when used for COM interoperability) describes the graphical settings applied to rulers of a specific enhanced spectrum analyzer. The current settings can be obtained through the SpectrumEnh.SettingsRulersGet method and modified through the SpectrumEnh.SettingsRulersSet 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_RULERS_SETTINGS

{

 public bool bLinearScale;

 public bool bScaleTopVisible;

 public bool bScaleBottomVisible;

 public bool bScaleLeftVisible;

 public bool bScaleRightVisible;

 public Color colorBackground;

 public Color colorTicks;

 public Color colorText;

}

 

Definition for COM Interoperability

 

public struct SPECTR_ENH_RULERS_SETTINGS_DLL

{

 public Int16 bLinearScale;

 public Int16 bScaleTopVisible;

 public Int16 bScaleBottomVisible;

 public Int16 bScaleLeftVisible;

 public Int16 bScaleRightVisible;

 public Int32 colorBackground;

 public Int32 colorTicks;

 public Int32 colorText;

}

 

Member

Description

 

 

bLinearScale

Boolean value that specifies if the frequency ruler should display a linear or logarithmic scale.

Supported values are the following:

Value

Meaning

false (default)

Displays logarithmic scale

true

Displays linear scale

bScaleTopVisible

Boolean value that specifies if the frequency ruler on the top should be visible.

Supported values are the following:

Value

Meaning

false

Doesn't display the frequency top ruler

true (default)

Displays the frequency top ruler

bScaleBottomVisible

Boolean value that specifies if the frequency ruler on the bottom should be visible.

Supported values are the following:

Value

Meaning

false

Doesn't display the frequency bottom ruler

true (default)

Displays the frequency bottom ruler

bScaleLeftVisible

Boolean value that specifies if the decibels ruler on the left side should be visible.

Supported values are the following:

Value

Meaning

false

Doesn't display the decibels left ruler

true (default)

Displays the decibels left ruler

bScaleRightVisible

Boolean value that specifies if the decibels ruler on the right side should be visible.

Supported values are the following:

Value

Meaning

false (default)

Doesn't display the decibels right ruler

true

Displays the decibels right ruler

colorBackground

The color used for rendering the rulers background.

colorTicks

The color used for rendering rulers ticks

colorText

The color used for rendering rulers text

 

 Below you can see an image of the enhanced spectrum analyzer evidencing some of the configurable elements: