Table of Contents

Method OpenPdf

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

OpenPdf(string?)

Opens the specified PDF file using the default PDF viewer.

public static void OpenPdf(string? filePath)

Parameters

filePath string

The path to the PDF file to be opened. Must not be null; if null, the method does nothing.

Remarks

This method utilizes the system's default application for opening PDF files. Ensure that the provided file path is valid and points to an existing PDF file.