property Image[Index: Integer]: TPdfImage; // read only
索引式唯讀屬性,傳回目前頁面上單一已解碼的影像物件(Width、Height、Data、RawData、Filters、HorizontalDpi、VerticalDpi、BitsPerPixel、ColorSpace、MarkedContentId 與 IccProfile)
要求 Active 為 True。傳入 0 .. ImageCount - 1 內以 0 為基底的影像索引
傳回的 TPdfImage 記錄是呼叫當下影像資料與 metadata 的呼叫端自有快照
| Index | 以 0 為基底的索引,範圍 0 .. ImageCount - 1 |
ImageInfo[Index]0 .. BitmapCount - 1 影像可直接繪製的 TBitmap,請使用 Bitmap[Index]
var
I: Integer;
begin
if not Pdf1.Active then Exit;
for I := 0 to Pdf1.ImageCount - 1 do
begin
// inspect Pdf1.Image[I]
Memo1.Lines.Add(IntToStr(I));
end;
end;