Copyright © 2008-2011 MultiMedia Soft

WaveformAnalyzer.GetGraphicalSettingsParam method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves one of the current graphical settings for the waveform analyzer. Single settings can be modified through the WaveformAnalyzer.SetGraphicalSettingsParam method.

This method is an alternative to the WaveformAnalyzer.GetGraphicalSettings2 method and it's provided with the purpose of allowing single settings retrieval when dealing with languages like JavaScript where data structures are not easy to implement.

 

For details about generating a waveform bitmap of the recorded sound and about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.

For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer object section.

 

 

Syntax

 

[Visual Basic]

control.WaveformAnalzyer.GetGraphicalSettingsParam (

nParam as short

) as String


 

[C++]

BSTR control.WaveformAnalzyer.GetGraphicalSettingsParam (

short nParam

);


 

 

 

Parameter

Description

 

 

nParam

Numeric identifier of the requested parameter.

Supported values are the following:

Numeric value

Meaning

0

bAppearance3d member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

1

colorWaveLine member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

2

colorWaveBackground member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

3

colorWavePositionLine member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

4

colorWavePlaybackLine member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

5

colorRulersBackground member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

6

colorRulersLines member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

7

colorRulersText member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

8

colorScrollbarsBackground member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

9

colorScrollbarsThumb member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

10

bRulerAmplitudeVisibleLeft member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

11

bRulerAmplitudeVisibleRight member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

12

bRulerTimeVisibleTop member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

13

bRulerTimeVisibleBottom member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

14

bScrollbarVisibleTop member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

15

bScrollbarVisibleBottom member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

16

nResolution member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

17

fZoomFactor member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

18

nStereoVisualizationMode member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

19

nWavePositionLineType member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

20

nWavePlaybackLineType member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

21

bWavePlaybackLineVisible member of the WAVEFORM_ANALYZER_SETTINGS_2 data structure

 

 

Return value

 

Value

Meaning

 

 

Empty string

An error occurred: see the LastError property for further error details or for a list of the possible error values.

Valid string

String containing the value of the requested parameter