Copyright © 2008-2023 MultiMedia Soft

TracksBoard.DisplayRangeSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Changes the waveform range currently displayed on the analyzer window. The current range can be obtained calling the TracksBoard.DisplayRangeGet method.

 

After a call to this method the control will fire the TracksBoardDisplayRangeChange event.

 

For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.

For further details about methods of the TracksBoard refer to the TracksBoard class section.

 

 

Syntax

 

[Visual Basic]

Public Function DisplayRangeSet (

nBeginPosInMs as Int32,

nEndPosInMs as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes DisplayRangeSet (

Int32 nBeginPosInMs,

Int32 nEndPosInMs

);


 

[C++]

public: enumErrorCodes DisplayRangeSet (

Int32 nBeginPosInMs,

Int32 nEndPosInMs

);


 

 

Parameter

Description

 

 

nBeginPosInMs

Number representing the displayed range start position, expressed in milliseconds

nEndPosInMs

Number representing the displayed range end position, expressed in milliseconds

 

 

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