Skip to main content
Table of Contents

TTMSFNCWXCustomPDFViewer.GenerateThumbnails Method

Generates thumbnails for every page of the loaded document.

API unit family: TMSFNCWXPDFViewer Declaring type: TTMSFNCWXCustomPDFViewer

Overloads

Overload 1

Generates thumbnails for every page of the loaded document.

FMX.TMSFNCWXPDFViewer.hppPascalC++
procedure GenerateThumbnails; overload;
void __fastcall GenerateThumbnails()/* overload */;

Remarks

Requires CalculateThumbnails to be enabled. Each thumbnail is reported through OnGenerateThumbnail.

Overload 2

Generates thumbnails for a range of pages.

FMX.TMSFNCWXPDFViewer.hppPascalC++
procedure GenerateThumbnails(StartPage, EndPage: Integer); overload;
void __fastcall GenerateThumbnails(int StartPage, int EndPage)/* overload */;

Remarks

Each thumbnail is reported through OnGenerateThumbnail.

Parameters

Name Description
StartPage The one-based page number to start from.
EndPage The one-based page number to end at, inclusive.