Copyright © 2013-2017 MultiMedia Soft

GraphicItemsTypeShow method

Previous pageReturn to chapter overviewNext page

Remarks

 

Shows/hides all of the graphic items of a given type.

 

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

 

 

Syntax

 

[Visual Basic]

control.GraphicItemsTypeShow (

nType as enumGraphicItemType,

bShow as enumBoolean

) as enumWanErrorCodes


 

[C++]

short control.GraphicItemsTypeShow (

short nType,

short bShow

);


 

 

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

bShow

Boolean value that specifies if the graphic items of the given type must be shown or hidden.

Supported values are the following:

Value

Meaning

false

Hides the graphic items

true

Shows the graphic items

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful.