API referenceCore SDK

pdfSetPageThumbnail

Generate and attach a /Thumb thumbnail image to the

C
int32_t __stdcall pdfSetPageThumbnail(PPDF IPDF);
Delphi
function pdfSetPageThumbnail(const IPDF: PPDF): Integer; stdcall;

Purpose. Generate and attach a /Thumb thumbnail image to the current page, rendered from that page's own content.

Return value. Non-zero on success; 0 if IPDF is invalid or no page is open.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern int pdfSetPageThumbnail(IntPtr IPDF);
Area
Core SDK
Category

Setters

Exported names

pdfSetPageThumbnail

String variants

The …A form takes UTF-8, …W takes UTF-16; a bare name aliases the ANSI form.

See working code

Worked examples — complete programs in ten languages.