Copyright © 2011-2018 MultiMedia Soft

WaveformAnalyzer.GraphicItemHorzPositionGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the current horizontal position of the given graphic item. The horizontal position can be modified through the WaveformAnalyzer.GraphicItemHorzPositionSet method or through the mouse.

 

For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer section.

For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.

For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer class section.

 

 

Syntax

 

[Visual Basic]

Public Function GraphicItemHorzPositionGet (

nUniqueId as Int16,

ByRef nStartPosInMs as Int32,

ByRef nEndPosInMs as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes GraphicItemHorzPositionGet (

Int16 nUniqueId,

ref Int32 nStartPosInMs,

ref Int32 nEndPosInMs

);


 

[C++]

public: enumErrorCodes GraphicItemHorzPositionGet (

Int16 nUniqueId,

Int32 __gc *nStartPosInMs,

Int32 __gc *nEndPosInMs

);


 

 

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:

nStartPosInMs

Reference that, on return from the method call, will contain the start position of the item expressed in milliseconds

nEndPosInMs

Reference that, on return from the method call, will contain the end position of the item 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.