I'm stumped... As soon as an Image with PropertyItems is put into the ImageList, it appears to lose that data. Anyone know why this is happening and how to resolve it?
Code:
' il is of type ImageList; img is of type Image.
MsgBox(img.PropertyItems.Length) ' Length = 68
il.Images.Add(img)
MsgBox(il.Images(0).PropertyItems.Length) ' Length = 0
MsgBox(img.Clone.PropertyItems.Length) ' Length = 68
il.Images(0) = img.Clone
MsgBox(il.Images(0).PropertyItems.Length) ' Length = 0