Copyright © 2001-2019 MultiMedia Soft

TriggersGetPosPerc method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the current position for the given trigger.

 

See the How to add Triggers and Cue Points to a player section for further details about triggers.

 

 

Syntax

 

[Visual Basic]

control.TriggersGetPosPerc (

nPlayer as Integer,

nTriggerID as Integer

) as Single


 

[C++]

float control.TriggersGetPosPerc (

short nPlayer,

short nTriggerID

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nTriggerID

Number representing the identifier of the new trigger

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

Value > 0

The trigger position expressed in percentage