TVirtualUI.PreviewPdf Method

Sends the specified PDF file to be shown on the end-user's web browser. It's similar to PrintPdf, except that disables the printing options in the browser. Built-in browser printing commands will be available.

Pascal

procedure PreviewPdf(const AFileName: WideString); safecall;

Parameters

Parameters

Description

const AFileName: WideString

Name of the PDF file.

Group

TVirtualUI Methods