PDFium Delphi Component Docs

ObjectBitmap Proprietà

Componente: TPdf  ·  Unità: PDFium
Proprietà indicizzata: restituisce un oggetto pagina immagine come TBitmap VCL renderizzabile, decodificato con perdita da JPX/CCITT e simili

Syntax

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

Description

Proprietà indicizzata in sola lettura che restituisce un oggetto di pagina immagine come TBitmap VCL renderizzabile (decodificato con perdita da JPX/CCITT/ecc.)

Richiede Active a True. Il risultato è indefinito quando l'indice è fuori dall'intervallo valido; passa valori in 0 .. BitmapCount - 1 (oppure usa la Length dell'array per le varianti senza conteggio)

Il record restituito è uno snapshot del valore al momento della chiamata; le modifiche successive al documento non alterano i record restituiti in precedenza

Parameters

IndexIndice a base zero nell'intervallo 0 .. BitmapCount - 1

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