VirtualUI.PreviewPdf Method
Description
The PreviewPdf method sends the specified PDF file to be shown on the end-user’s web browser. This functionality resembles the PrintPdf method, but with a key distinction: it disables printing options in the browser interface while keeping standard browser printing commands accessible.
Syntax
public void PreviewPdf(string FileName);
Parameters
| Parameter | Description |
|---|---|
FileName |
The name of the PDF file to display |