DAGetImageIntProperty

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

Opis

Zwraca określone właściwości obrazu na liście obrazów

Składnia

Delphi

Function TPDFlib.DAGetImageIntProperty(FileHandle, ImageListID, ImageIndex, PropertyID: Integer): Integer;

ActiveX

Function PDFlib::DAGetImageIntProperty(FileHandle As Long, ImageListID As Long, ImageIndex As Long, PropertyID As Long) As Long

DLL

int DLDAGetImageIntProperty(int InstanceID, int FileHandle, int ImageListID, int ImageIndex, int PropertyID);

Parametry

FileHandleUchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream
ImageListIDWartość zwrócona przez funkcję DAGetPageImageList
ImageIndexIndeks obrazu. Pierwszy obraz na liście ma indeks 1. Liczbę obrazów na liście można określić funkcją DAGetImageListCount.
PropertyID400 = Typ obrazu (wartości opisano w ImageType) 401 = Szerokość w pikselach 402 = Wysokość w pikselach 403 = Liczba bitów na piksel 404 = Typ przestrzeni barw 405 = Identyfikator obrazu (wynosi 0 dla obrazu Inline)