Copyright © 2005-2018 MultiMedia Soft

TagsReader.WMA_PictureFrameSizeGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the size of the picture stored inside a WMA picture frame .

 

For further details about methods related to tags reading refer to the TagsReaderMan class.

For details about the reading of tags see the How to read TAG information in sound files tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function WMA_PictureFrameSizeGet (

nIndex as Int32,

ByRef nSize as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes WMA_PictureFrameSizeGet (

Int32 nIndex,

ref Int32 nSize

);


 

[C++]

public: enumErrorCodes WMA_PictureFrameSizeGet (

Int32 nIndex,

Int32 __gc *nSize

);


 

Parameter

Description

 

 

nIndex

Zero-based index of the picture frame. The total number of picture frames available inside the WMA tag can be obtained through a call to the TagsReader.WMA_PictureFrameCountGet method.

nSize

Reference that, on return from the method call, will contain the size in bytes of the picture stored inside the frame.

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.