PDFiumPas 文件

Thumbnail 属性

组件: TPdf  ·  单元: PDFium
返回当前页面 /Thumb 条目的原始字节(可选的预计算预览,通常为 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