PDFium Delphi Component Docs

ObjectBitmap プロパティ

コンポーネント: TPdf  ·  ユニット: PDFium
1 つの image page object を renderable な VCL TBitmap として返す indexed property です (JPX/CCITT/etc. から lossy decode されます)

Syntax

property ObjectBitmap[Index: Integer]: TBitmap; // read only

Description

1 つの image page object を、描画可能な VCL TBitmap として返すインデックス付き read-only property です(JPX/CCITT などから lossy decode されます)

Active が True である必要があります。有効範囲外のインデックスに対する結果は未定義です。0 .. BitmapCount - 1 の範囲の値を渡してください(カウントを持たない variant では配列の Length を使います)

返されるレコードは呼び出し時点の値のスナップショットです。その後のドキュメント編集で、以前返されたレコードが書き換わることはありません

Parameters

Index0 .. BitmapCount - 1 の範囲の 0 基準インデックス

Remarks

Example

var
  I: Integer;
begin
  if not Pdf1.Active then Exit;
  for I := 0 to Pdf1.BitmapCount - 1 do
  begin
    // inspect Pdf1.ObjectBitmap[I]
    Memo1.Lines.Add(IntToStr(I));
  end;
end;

See Also

BitmapCount, Image, ImageCount