DAGetImageListCount

Obsługa obrazów, Funkcje dostępu bezpośredniego

Opis

Zwraca liczbę obrazów na liście obrazów

Składnia

Delphi

Function TPDFlib.DAGetImageListCount(FileHandle, ImageListID: Integer): Integer;

ActiveX

Function PDFlib::DAGetImageListCount(FileHandle As Long, ImageListID As Long) As Long

DLL

int DLDAGetImageListCount(int InstanceID, int FileHandle, int ImageListID);

Parametry

FileHandleUchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream
ImageListIDWartość zwrócona przez funkcję DAGetPageImageList

Wartości zwracane

Zwraca liczbę obrazów na podanej liście obrazów. Zwraca 0, gdy uchwyt pliku lub lista obrazów są nieprawidłowe.