ISDBAlbumArtList::AddNew: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
ItemSorage valueas are: | ItemSorage valueas are: | ||
0 = Tag | 0 = Tag, | ||
1 = File | 1 = File, | ||
2 = | 2 = Cover Storage, | ||
3 = Tag And File | 3 = Tag And File | ||
Revision as of 22:35, 15 May 2010
CoClass SDBAlbumArtList, Interface ISDBAlbumArtList
Property Get AddNew As ISDBAlbumArtItem
Property description
Adds new item to the list and returns it to user for further modifications.
ItemSorage valueas are: 0 = Tag, 1 = File, 2 = Cover Storage, 3 = Tag And File
Example code
Set SL = SDB.CurrentSongList
If SL.Count>0 Then
Set Track = SL.Item(0)
Set AAList = Track.AlbumArt
Set AA = AAList.AddNew
AA.PicturePath = "D:\test.jpg"
AA.Description = "Test"
AA.ItemType = 5
AA.ItemStorage = 0
AAList.UpdateDB
End If