Copyright © 2008-2023 MultiMedia Soft

TracksBoard.DisplayWidthGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the current size, expressed in both milliseconds and pixels, of the display surface used to render the waveform.

 

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 object section.

 

 

Syntax

 

[Visual Basic]

control.TracksBoard.DisplayWidthGet (

ByRef nWidthInMs as Long,

ByRef nWidthInPixels as Long

) as enumErrorCodes


 

[C++]

short control.TracksBoard.DisplayWidthGet (

long *nWidthInMs,

long *nWidthInPixels

);


 

Parameter

Description

 

 

nWidthInMs

Reference that, after returning from the method call, will contain the width of the display surface, expressed in milliseconds, used for rendering the Tracksboard

nWidthInPixels

Reference that, after returning from the method call, will contain the width of the display surface, expressed in pixels, used for rendering the Tracksboard

 

 

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