TVirtualUI.PrintPdf Method

Sends the specified PDF file to be shown on the end-user's web browser.

Pascal

procedure PrintPdf(const AFileName: WideString); safecall;

Parameters

Parameters

Description

const AFileName: WideString

Name of the PDF file.

Remarks

PrintPDF is similar to DownloadFile, except that it downloads the file with a content-type: application/pdf.

Group

TVirtualUI Methods