واجهة IHPDFProgressiveImageDecoder
IHPDFProgressiveImageDecoder = interface
['{9C414FE8-9E8D-4A2B-B7F6-5AE4266138AE}']
function DecodeNextScan(out ScanNumber: Integer):
THPDFProgressiveImageDecodeStatus;
function GetBitmap: TBitmap;
function GetErrorMessage: AnsiString;
end;
نقطة فصل للفك التدريجي تُنتج مسحًا واحدًا في كل مرة، حتى يستطيع المستدعون رسم الصور الوسيطة بينما يستمر فك الترميز؛ تُبلغ DecodeNextScan عن التقدم عبر THPDFProgressiveImageDecodeStatus ورقم المسح الذي أُكمل للتو
تُعيد GetBitmap الصورة النقطية الحالية المفكوكة جزئيًا، وتُعيد GetErrorMessage سبب آخر حالة فشل