PDFium Component Docs

คุณสมบัติ Thumbnail

Component: TPdf  ·  Unit: PDFium
คืนค่าไบต์ดิบของรายการ /Thumb สำหรับหน้าปัจจุบัน (preview ที่คำนวณไว้ล่วงหน้าแบบเลือกได้ โดยทั่วไปเป็น raster 64x64)

Syntax

property Thumbnail;

Description

Returns the raw bytes of the /Thumb entry for the current page (optional precomputed preview, typically a 64x64 raster).

Empty bytes when the page has no thumbnail attached.

Wraps the corresponding PDFium API and exposes it as a TPdf instance member so consumers do not have to manage FPDF_DOCUMENT handles directly.

Remarks

Example

if Pdf1.Active then
  Pdf1.Thumbnail;

See Also

Page, Bitmap, Image