DAGetImageDataToVariant
影像處理、直接存取功能
描述
以位元組陣列 Variant 傳回影像清單中某張影像的影像資料
資料格式取決於影像類型
可用 DAGetImageIntProperty 函式判斷影像類型
語法
ActiveX
Function PDFlib::DAGetImageDataToVariant(FileHandle As Long, ImageListID As Long, ImageIndex As Long) As Variant參數
FileHandle
由 DAOpenFile 或 DAOpenFileReadOnly 傳回的控制代碼
DAOpenFromStream 函式
ImageListID
DAGetPageImageList 函式傳回的值
ImageIndex
影像的索引。清單中第一張影像的索引為 1。可用 DAGetImageListCount 函式判斷清單中的影像數量