 |
PowerPointToPdfConvertFile Method |
Converts the presentation at the given path to pdf. The engine reads pptx, pptm, potx, potm, ppsx and ppsm files.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntaxpublic PdfDocument ConvertFile(
string filePath
)
Public Function ConvertFile (
filePath As String
) As PdfDocument
Parameters
- filePath String
- The path of the presentation. Cannot be null or empty.
Return Value
PdfDocument
A
PdfDocument containing the converted content. The caller is responsible for
saving and closing the returned document.
Exceptions| Exception | Condition |
|---|
| PowerPointToPdfException |
Thrown when filePath is null or empty, the file does not exist, or the
presentation cannot be read or rendered.
|
See Also