THotPDF.SetLoadedPageThumbnailStream Method

Replaces a page thumbnail from caller-owned bytes and writes validated image dimensions, bit depth, color space, and optional filter metadata

Declaration

function SetLoadedPageThumbnailStream(PageIndex: Integer;
    Source: TStream; Width, Height, BitsPerComponent: Integer;
    const ColorSpace, Filter: AnsiString;
    AutoGenerated: boolean = False): boolean;

Automatic thumbnails are marked so cache invalidation and diagnostics can distinguish generated content

Object Graph Editing and Page Assembly