DAGetPageImageList

Obsługa obrazów, Funkcje dostępu bezpośredniego, Właściwości strony

Opis

Ta funkcja znajduje wszystkie obrazy na wybranej stronie i zwraca ImageListID, którego można używać z funkcjami DAGetImageListCount, DAGetImageListItemIntProperty, DAGetImageListItemDblProperty, DAGetImageListItemDataToString, DAGetImageListItemDataToVariant i DASaveImageListItemDataToFile.

Uwzględnia obrazy Inline, ale ImageID każdego takiego obrazu wynosi 0, dlatego obrazów Inline nie można używać z funkcjami ReplaceImage ani ClearImage.

Składnia

Delphi

Function TPDFlib.DAGetPageImageList(FileHandle, PageRef: Integer): Integer;

ActiveX

Function PDFlib::DAGetPageImageList(FileHandle As Long, PageRef As Long) As Long

DLL

int DLDAGetPageImageList(int InstanceID, int FileHandle, int PageRef);

Parametry

FileHandleUchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream
PageRefOdwołanie do strony zwrócone przez funkcję DAFindPage

Wartości zwracane

0Parametr FileHandle lub PageRef był nieprawidłowy Wartość ImageListID, której można używać z pozostałymi funkcjami list obrazów Direct Access
Wartość niezerowa