SaveToFile example for Visual Basic
Dim i As Integer
For i = 1 To 3 ' select 2nd to 4th items
LEADImgList1.Item (i).Selected = True
Next
Kill "d:\temp\testing.tif"
'save all selected items to a multipage file
LEADImgList1.SaveToFile "d:\temp\testing.tif", FILE_TIF_CMP, 0, QFACTOR_QS, True
MsgBox "about to reload file"
'clear list
LEADImgList1.Clear
'reload file
LEADImgList1.LoadFromFile "d:\temp\testing.tif", 0, 1, -1