Copyright © 2001-2019 MultiMedia Soft

GetMp3Tag2Size method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the size of the ID3V2 tag (if any) for a MP3 song. The full tag binary contents can be obtained through a call to the GetMp3Tag2Data method.

 

Details about the use of Tags and a sample of use of this method can be found on the How to read TAG information in sound files and How to retrieve basic TAG information from the sound loaded into a player tutorials.

 

 

Syntax

 

[Visual Basic]

control.GetMp3Tag2Size (

nPlayer as Integer

) as Long


 

[C++]

long control.GetMp3Tag2Size (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

 

Return value

 

Value

Meaning

 

 

Negative value

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

0

No ID3V2 tag available

> 0

The ID3V2 tag size