Copyright © 2005-2019 MultiMedia Soft

Spectrum.Show method

Previous pageReturn to chapter overviewNext page

Remarks

 

Shows/hides the embedded Spectrum. This method has no effect without a previous call to the Spectrum.Create method.

 

For further details about using the embedded Spectrum refer to the Spectrum class section.

For details about using Visual Feedbacks refer to the How to use the embedded Visual Feedbacks section.

 

 

Syntax

 

[Visual Basic]

Public Function Show (

nPlayerIndex as Int16,

bShow as Boolean

) as enumErrorCodes


 

[C#]

public enumErrorCodes Show (

Int16 nPlayerIndex,

bool bShow

);


 

[C++]

public: enumErrorCodes Show (

Int16 nPlayerIndex,

bool bShow

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that will use the Spectrum

bShow

Boolean value that specifies to the player if it must show/hide the Spectrum.

 

Supported values are the following:

Value

Meaning

false

Hides the Spectrum graphics

true

Shows the Spectrum graphics

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.