Copyright © 2008-2019 MultiMedia Soft

WaveformAnalyzer.GraphicItemsTypeRemove method

Previous pageReturn to chapter overviewNext page

Remarks

 

Removes all of the graphic items of a given type. In order to remove all types of graphic items at once, use the WaveformAnalyzer.GraphicItemRemove method with parameter -1.

 

For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer section.

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.WaveformAnalyzer.GraphicItemsTypeRemove (

nType as enumGraphicItemType

) as enumErrorCodes


 

[C++]

short control.WaveformAnalyzer.GraphicItemsTypeRemove (

short nType

);


 

 

Parameter

Description

 

 

nType

The type of graphic items.

Supported values are the following:

Mnemonic constant

Numeric value

Meaning

GRAPHIC_ITEM_VERTICAL_LINE

0

Vertical line

GRAPHIC_ITEM_HORIZONTAL_LINE

1

Horizontal line

GRAPHIC_ITEM_WAVE_RANGE

2

Wave range

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.