Click or drag to resize
Pdf Library for .NET

PowerPointToPdfConvertBytes Method

Converts a presentation held in memory to pdf.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntax
public PdfDocument ConvertBytes(
	byte[] data
)

Parameters

data  Byte
The bytes of the presentation. Cannot be null.

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 data is null, or the presentation cannot be read or rendered.
See Also