Copyright © 2008-2013 MultiMedia Soft

GetDisplayWidth method

Previous pageReturn to chapter overviewNext page

Remarks

 

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

 

 

Syntax

 

[Visual Basic]

Public Function GetDisplayWidth (

ByRef nWidthInMs as Int32,

ByRef nWidthInPixels as Int32

) as enumWanErrorCodes


 

[C#]

public enumWanErrorCodes GetDisplayWidth (

ref Int32 nWidthInMs,

ref Int32 nWidthInPixels

);


 

[C++]

public: enumWanErrorCodes GetDisplayWidth (

ref Int32 nWidthInMs,

ref Int32 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 waveform

nWidthInPixels

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

 

 

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