property Image[Index: Integer]: TPdfImage; // read only
現在のページ上のデコード済み画像オブジェクトを 1 つ返すインデックス付き read-only property です(Width、Height、Data、RawData、Filters、HorizontalDpi、VerticalDpi、BitsPerPixel、ColorSpace、MarkedContentId、IccProfile)
Active が True である必要があります。0 .. ImageCount - 1 の 0 基点画像インデックスを渡してください
返される TPdfImage レコードは、呼び出し時点の画像データとメタデータの呼び出し側所有スナップショットです
| Index | 0 .. ImageCount - 1 の範囲の 0 基準インデックス |
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;