Method OpenPdf
OpenPdf(string?)
Opens the specified PDF file using the default PDF viewer.
public static void OpenPdf(string? filePath)
Parameters
filePathstringThe 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.