Copyright © 2013-2017 MultiMedia Soft

GraphicItemShow method

Previous pageReturn to chapter overviewNext page

Remarks

 

Shows/hides the given graphic item.

 

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.GraphicItemShow (

nUniqueId as Integer,

bShow as enumBoolean

) as enumWanErrorCodes


 

[C++]

short control.GraphicItemShow (

short nUniqueId,

short bShow

);


 

 

Parameter

Description

 

 

nUniqueId

Unique identification number assigned to the graphic item.

The unique identification number of a graphic item is generated using one of the following methods:

GraphicItemHorizontalLineAdd for horizontal lines
GraphicItemVerticalLineAdd for vertical lines
GraphicItemWaveRangeAdd for wave ranges

bShow

Boolean value that specifies if the graphic item must be shown or hidden.

Supported values are the following:

Value

Meaning

false

Hides the graphic item

true

Shows the graphic item

 

 

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.