Copyright © 2006-2019 MultiMedia Soft

WaveformAnalyzer.GraphicItemVerticalLineParamsGetEx method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains one of the settings for the given vertical line added to the waveform analyzer. Value of single settings can be modified through the WaveformAnalyzer.GraphicItemVerticalLineParamsSetEx method.

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

 

For details 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.GraphicItemVerticalLineParamsGetEx (

nUniqueId as Integer,

nParam as short

) as String


 

[C++]

BSTR control.WaveformAnalzyer.GraphicItemVerticalLineParamsGetEx (

short nUniqueId,

short nParam

);


 

Parameter

Description

 

 

nUniqueId

Unique identification number assigned to the line by a previous call to the WaveformAnalyzer.GraphicItemVerticalLineAdd method.

nParam

Numeric identifier of the requested parameter.

Supported values are the following:

Value

Meaning

0

color member of the WANALYZER_VERTICAL_LINE data structure

1

nDashStyle member of the WANALYZER_VERTICAL_LINE data structure

2

nWidth member of the WANALYZER_VERTICAL_LINE data structure

3

nTranspFactor member of the WANALYZER_VERTICAL_LINE data structure

4

nHighCap member of the WANALYZER_VERTICAL_LINE data structure

5

nLowCap member of the WANALYZER_VERTICAL_LINE data structure

6

nLowCap member of the WANALYZER_VERTICAL_LINE 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.

The value is formatted with the following rules:

Color values are formatted like "#RRGGBB" where:

- "#" represents the control character used for formatting colors in HTML code: the presence of this character is mandatory

- RR represents the hexadecimal value of the color's red component

- GG represents the hexadecimal value of the color's green component

- BB represents the hexadecimal value of the color's blue component

For example the green color will be represented with the value "#00FF00"

Boolean values are rendered as

- "1" or "True" for indicating the boolean "true"

- "0" or "False" for indicating the boolean "false"