Click or drag to resize
Pdf Library for .NET

PowerPointToPdfConvertFile Method

Converts the presentation at the given path to pdf. The engine reads pptx, pptm, potx, potm, ppsx and ppsm files.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntax
public PdfDocument ConvertFile(
	string filePath
)

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
ExceptionCondition
PowerPointToPdfException Thrown when filePath is null or empty, the file does not exist, or the presentation cannot be read or rendered.
See Also