Debenu Quick PDF logo

GetPagePreview

Version history

This function is not available from Quick PDF Library version 7.11.

The built in rendering functions should be used instead.

Description

Use this function to generate a JPEG preview of the selected page. Rendering a PDF file is a very difficult process. This function may not deliver a perfect representation of how the page will actually look in Acrobat or any other PDF viewer. It may also take some time to generate the preview.

Definition

function GetPagePreview(Width As Long, Height As Long) As String

Parameters

Width The width of the preview in pixels.
Height The height of the preview in pixels.

Returns

The contents of a JPEG file.