Debenu Quick PDF logo

SavePagePreview

Version history

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

The built in rendering functions should be used instead.

Description

Generates a JPEG preview of the selected page and saves it to a file on disk. See the GetPagePreview function for information about limitations of the rendering.

Definition

function SavePagePreview(Width As Long,
  Height As Long,
  FileName As String) As Long

Parameters

Width The width of the preview image.
Height The height of the preview image.
FileName The name of the image file to create.

Returns

0 The preview image could not be saved, the file could not be created.
1 The preview image was saved successfully.