SaveImageListItemDataToFile

Obsługa obrazów

Opis

Zapisuje dane obrazu elementu listy obrazów do pliku na dysku

Składnia

Delphi

Function TPDFlib.SaveImageListItemDataToFile(ImageListID, ImageIndex, Options: Integer; Const ImageFileName: WideString): Integer;

ActiveX

Function PDFlib::SaveImageListItemDataToFile(ImageListID As Long, ImageIndex As Long, Options As Long, ImageFileName As String) As Long

DLL

int DLSaveImageListItemDataToFile(int InstanceID, int ImageListID, int ImageIndex, int Options, const wchar_t * ImageFileName);

Parametry

ImageListIDWartość zwrócona przez funkcję GetPageImageList Indeks obrazu na liście. Pierwszy obraz ma indeks 1
ImageIndex
OptionsZarezerwowane do przyszłego użycia. Należy ustawić 0
ImageFileNameŚcieżka i nazwa tworzonego pliku

Wartości zwracane

0Nie można zapisać danych obrazu
1Dane obrazu zostały pomyślnie zapisane