API Reference
OdpPdfConversionExtensions
Direct, loss-aware ODP to PDF conversion through the PowerPoint semantic and PDF engines.
Inheritance
- Object
- OdpPdfConversionExtensions
Methods
public static OfficeOutputResult<PdfOdpConversionReport> SaveAsOdp(PdfDocument source, String path, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #OfficeOutputResult<PdfOdpConversionReport>Reconstructs and saves an ODP presentation from an opened PDF.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocument
- arg2 System.String
- arg3 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg4 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg5 System.Threading.CancellationToken = default
public static OfficeOutputResult<PdfOdpConversionReport> SaveAsOdp(PdfDocument source, Stream stream, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #OfficeOutputResult<PdfOdpConversionReport>Reconstructs and writes an ODP presentation from an opened PDF.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocument
- arg2 System.IO.Stream
- arg3 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg4 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg5 System.Threading.CancellationToken = default
public static OfficeOutputResult<PdfOdpConversionReport> SaveAsOdp(PdfDocumentReadResult source, String path, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #OfficeOutputResult<PdfOdpConversionReport>Reconstructs and saves an ODP presentation from a logical PDF model.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocumentReadResult
- arg2 System.String
- arg3 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg4 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg5 System.Threading.CancellationToken = default
public static OfficeOutputResult<PdfOdpConversionReport> SaveAsOdp(PdfDocumentReadResult source, Stream stream, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #OfficeOutputResult<PdfOdpConversionReport>Reconstructs and writes an ODP presentation from a logical PDF model.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocumentReadResult
- arg2 System.IO.Stream
- arg3 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg4 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg5 System.Threading.CancellationToken = default
public static async Task<OfficeOutputResult<PdfOdpConversionReport>> SaveAsOdpAsync(PdfDocument source, String path, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #Task<OfficeOutputResult<PdfOdpConversionReport>>Reconstructs synchronously, then asynchronously saves an ODP presentation from an opened PDF.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocument
- arg2 System.String
- arg3 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg4 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg5 System.Threading.CancellationToken = default
public static async Task<OfficeOutputResult<PdfOdpConversionReport>> SaveAsOdpAsync(PdfDocument source, Stream stream, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #Task<OfficeOutputResult<PdfOdpConversionReport>>Reconstructs synchronously, then asynchronously writes an ODP presentation from an opened PDF.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocument
- arg2 System.IO.Stream
- arg3 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg4 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg5 System.Threading.CancellationToken = default
public static async Task<OfficeOutputResult<PdfOdpConversionReport>> SaveAsOdpAsync(PdfDocumentReadResult source, String path, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #Task<OfficeOutputResult<PdfOdpConversionReport>>Reconstructs synchronously, then asynchronously saves an ODP presentation from a logical PDF model.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocumentReadResult
- arg2 System.String
- arg3 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg4 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg5 System.Threading.CancellationToken = default
public static async Task<OfficeOutputResult<PdfOdpConversionReport>> SaveAsOdpAsync(PdfDocumentReadResult source, Stream stream, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #Task<OfficeOutputResult<PdfOdpConversionReport>>Reconstructs synchronously, then asynchronously writes an ODP presentation from a logical PDF model.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocumentReadResult
- arg2 System.IO.Stream
- arg3 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg4 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg5 System.Threading.CancellationToken = default
public static PdfSaveResult SaveAsPdf(OdpPresentation source, String path, PowerPointOpenDocumentConversionOptions conversionOptions = null, PowerPointToPdfOptions pdfOptions = null, CancellationToken cancellationToken = default) #PdfSaveResultSaves an ODP presentation as PDF.
Parameters
- arg1 OfficeIMO.OpenDocument.OdpPresentation
- arg2 System.String
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions = null
- arg5 System.Threading.CancellationToken = default
public static PdfSaveResult SaveAsPdf(OdpPresentation source, Stream stream, PowerPointOpenDocumentConversionOptions conversionOptions = null, PowerPointToPdfOptions pdfOptions = null, CancellationToken cancellationToken = default) #PdfSaveResultWrites an ODP presentation as PDF to a caller-owned stream.
Parameters
- arg1 OfficeIMO.OpenDocument.OdpPresentation
- arg2 System.IO.Stream
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions = null
- arg5 System.Threading.CancellationToken = default
public static Task<PdfSaveResult> SaveAsPdfAsync(OdpPresentation source, String path, PowerPointOpenDocumentConversionOptions conversionOptions = null, PowerPointToPdfOptions pdfOptions = null, CancellationToken cancellationToken = default) #Task<PdfSaveResult>Converts synchronously, then asynchronously saves an ODP presentation as PDF.
Parameters
- arg1 OfficeIMO.OpenDocument.OdpPresentation
- arg2 System.String
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions = null
- arg5 System.Threading.CancellationToken = default
public static Task<PdfSaveResult> SaveAsPdfAsync(OdpPresentation source, Stream stream, PowerPointOpenDocumentConversionOptions conversionOptions = null, PowerPointToPdfOptions pdfOptions = null, CancellationToken cancellationToken = default) #Task<PdfSaveResult>Converts synchronously, then asynchronously writes an ODP presentation as PDF.
Parameters
- arg1 OfficeIMO.OpenDocument.OdpPresentation
- arg2 System.IO.Stream
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions = null
- arg5 System.Threading.CancellationToken = default
public static PdfSaveResult SaveAsPdfResult(OdpPresentation source, String path, PowerPointOpenDocumentConversionOptions conversionOptions = null, PowerPointToPdfOptions pdfOptions = null, CancellationToken cancellationToken = default) #PdfSaveResultAttempts to save an ODP presentation as PDF and returns structured failure evidence.
Parameters
- arg1 OfficeIMO.OpenDocument.OdpPresentation
- arg2 System.String
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions = null
- arg5 System.Threading.CancellationToken = default
public static PdfSaveResult SaveAsPdfResult(OdpPresentation source, Stream stream, PowerPointOpenDocumentConversionOptions conversionOptions = null, PowerPointToPdfOptions pdfOptions = null, CancellationToken cancellationToken = default) #PdfSaveResultAttempts to write an ODP presentation as PDF and returns structured failure evidence.
Parameters
- arg1 OfficeIMO.OpenDocument.OdpPresentation
- arg2 System.IO.Stream
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions = null
- arg5 System.Threading.CancellationToken = default
public static async Task<PdfSaveResult> SaveAsPdfResultAsync(OdpPresentation source, String path, PowerPointOpenDocumentConversionOptions conversionOptions = null, PowerPointToPdfOptions pdfOptions = null, CancellationToken cancellationToken = default) #Task<PdfSaveResult>Attempts to asynchronously save an ODP presentation as PDF and returns structured failure evidence.
Parameters
- arg1 OfficeIMO.OpenDocument.OdpPresentation
- arg2 System.String
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions = null
- arg5 System.Threading.CancellationToken = default
public static async Task<PdfSaveResult> SaveAsPdfResultAsync(OdpPresentation source, Stream stream, PowerPointOpenDocumentConversionOptions conversionOptions = null, PowerPointToPdfOptions pdfOptions = null, CancellationToken cancellationToken = default) #Task<PdfSaveResult>Attempts to asynchronously write an ODP presentation as PDF and returns structured failure evidence.
Parameters
- arg1 OfficeIMO.OpenDocument.OdpPresentation
- arg2 System.IO.Stream
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions = null
- arg5 System.Threading.CancellationToken = default
public static OdpPresentation ToOdpPresentation(PdfDocument source, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #OdpPresentationReconstructs an ODP presentation from an opened PDF.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocument
- arg2 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 System.Threading.CancellationToken = default
public static OdpPresentation ToOdpPresentation(PdfDocumentReadResult source, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #OdpPresentationReconstructs an ODP presentation from an already loaded logical PDF model.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocumentReadResult
- arg2 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 System.Threading.CancellationToken = default
public static PdfOdpConversionResult ToOdpPresentationResult(PdfDocument source, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #PdfOdpConversionResultReconstructs an ODP presentation and preserves diagnostics from both conversion stages.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocument
- arg2 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 System.Threading.CancellationToken = default
public static PdfOdpConversionResult ToOdpPresentationResult(PdfDocumentReadResult source, PdfToPowerPointOptions pdfOptions = null, PowerPointOpenDocumentConversionOptions openDocumentOptions = null, CancellationToken cancellationToken = default) #PdfOdpConversionResultReconstructs an ODP presentation from a logical PDF model and preserves both stage reports.
Parameters
- arg1 OfficeIMO.Pdf.PdfDocumentReadResult
- arg2 OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions = null
- arg3 OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- arg4 System.Threading.CancellationToken = default
public static Byte[] ToPdfBytes(OdpPresentation source, PowerPointOpenDocumentConversionOptions conversionOptions = null, PowerPointToPdfOptions pdfOptions = null, CancellationToken cancellationToken = default) #Byte[]Converts an ODP presentation to PDF bytes.
Parameters
- source OfficeIMO.OpenDocument.OdpPresentation
- conversionOptions OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- pdfOptions OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions = null
- cancellationToken System.Threading.CancellationToken = default
public static PdfDocument ToPdfDocument(OdpPresentation source, PowerPointOpenDocumentConversionOptions conversionOptions = null, PowerPointToPdfOptions pdfOptions = null, CancellationToken cancellationToken = default) #PdfDocumentConverts an ODP presentation to the first-party PDF document model.
Parameters
- source OfficeIMO.OpenDocument.OdpPresentation
- conversionOptions OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- pdfOptions OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions = null
- cancellationToken System.Threading.CancellationToken = default
public static PdfDocumentConversionResult ToPdfDocumentResult(OdpPresentation source, PowerPointOpenDocumentConversionOptions conversionOptions = null, PowerPointToPdfOptions pdfOptions = null, CancellationToken cancellationToken = default) #PdfDocumentConversionResultConverts an ODP presentation to PDF and preserves diagnostics from both conversion stages.
Parameters
- source OfficeIMO.OpenDocument.OdpPresentation
- conversionOptions OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions = null
- pdfOptions OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions = null
- cancellationToken System.Threading.CancellationToken = default
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object