Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WinPDF.GeneratePreview

Adds preview to an existing PDF container.

Component Version macOS Windows Linux Server iOS SDK
WinPDF 13.2 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ✅ Yes
MBS( "WinPDF.GeneratePreview"; Container )   More

Parameters

Parameter Description Example
Container A media value containing PDF data.

Result

Returns updated container value or error.

Description

Adds preview to an existing PDF container.
For Linux, please use DynaPDF.GeneratePreview.

See Plugin.SetPreviewSize for setting resolution of previews.

If called on macOS or iOS, will internally run PDFKit.GeneratePreview function.

Examples

Generate preview:

Set Field [ Merge PDFs::FinalPDF ; MBS("WinPDF.GeneratePreview"; Merge PDFs::InputPDF) ]

See also

Blog Entries

This function checks for a license.

Created 8th March 2023, last changed 3th May 2023


WebView.setZoom - WinPDF.IsPasswordProtected