Classe THPDFRandomAccessSource

Classe base astratta che consente a THotPDF.LoadFromRandomAccessSource di caricare un PDF da qualsiasi archivio di byte seekable definito dal chiamante senza richiedere un'implementazione TStream

Dichiarazione

THPDFRandomAccessSource = class
public
  function GetSize: Int64; virtual; abstract;
  function ReadAt(Offset: Int64; var Buffer;
    Count: Longint): Longint; virtual; abstract;
end;

Unità

HPDFDoc

Membri

NomeScopo
GetSizeRestituisce la lunghezza in byte stabile dell'archivio sottostante
ReadAtLegge Count byte a partire da Offset in Buffer

Note d'uso

API correlate