Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointOpenDocumentImageExportExtensions

OfficeIMO.PowerPoint.OpenDocument

Namespace
OfficeIMO.PowerPoint.OpenDocument
Assembly
OfficeIMO.PowerPoint.OpenDocument
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

Thin ODP image-export bridge over the PowerPoint visual renderer.

Inheritance

  • object
  • PowerPointOpenDocumentImageExportExtensions

Methods

public static OfficeConversionReport SaveAsImages(OdpPresentation document, string folderPath, PowerPointImageExportOptions? imageOptions = null, PowerPointOpenDocumentConversionOptions? conversionOptions = null, CancellationToken cancellationToken = default) #

Saves selected source surfaces through the shared atomic file and fidelity policies.

Parameters

document OfficeIMO.OpenDocument.OdpPresentation required
folderPath string required
imageOptions OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
conversionOptions OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

OfficeConversionReport
public static async Task<OfficeConversionReport> SaveAsImagesAsync(OdpPresentation document, string folderPath, PowerPointImageExportOptions? imageOptions = null, PowerPointOpenDocumentConversionOptions? conversionOptions = null, CancellationToken cancellationToken = default) #

Saves selected source surfaces asynchronously without retaining earlier encoded payloads.

Parameters

document OfficeIMO.OpenDocument.OdpPresentation required
folderPath string required
imageOptions OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
conversionOptions OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<OfficeConversionReport>
ToImages 3 overloads
public static IReadOnlyList<OfficeImageExportResult> ToImages(OdpPresentation document, PowerPointImageExportOptions? imageOptions = null, PowerPointOpenDocumentConversionOptions? conversionOptions = null, CancellationToken cancellationToken = default) #

Renders selected source surfaces using the encoding in the image options.

Parameters

document OfficeIMO.OpenDocument.OdpPresentation required
imageOptions OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
conversionOptions OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

IReadOnlyList<OfficeImageExportResult>
public static IReadOnlyList<OfficeImageExportResult> ToImages(OdpPresentation source, OfficeImageExportFormat format, PowerPointImageExportOptions? imageOptions = null, PowerPointOpenDocumentConversionOptions? conversionOptions = null, CancellationToken cancellationToken = default) #

Converts an ODP presentation to PowerPoint semantics and exports selected slides.

Parameters

source OfficeIMO.OpenDocument.OdpPresentation required
format OfficeIMO.Drawing.OfficeImageExportFormat required
imageOptions OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
conversionOptions OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

IReadOnlyList<OfficeImageExportResult>
public static void ToImages(OdpPresentation source, OfficeImageExportFormat format, OfficeImageExportConsumer consumer, PowerPointImageExportOptions? imageOptions = null, PowerPointOpenDocumentConversionOptions? conversionOptions = null, CancellationToken cancellationToken = default) #

Streams selected ODP slide images without retaining earlier payloads.

Parameters

source OfficeIMO.OpenDocument.OdpPresentation required
format OfficeIMO.Drawing.OfficeImageExportFormat required
consumer OfficeIMO.Drawing.OfficeImageExportConsumer required
imageOptions OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
conversionOptions OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional
public static Task<IReadOnlyList<OfficeImageExportResult>> ToImagesAsync(OdpPresentation document, PowerPointImageExportOptions? imageOptions = null, PowerPointOpenDocumentConversionOptions? conversionOptions = null, CancellationToken cancellationToken = default) #

Renders selected source surfaces asynchronously under one shared operation deadline and budget.

Parameters

document OfficeIMO.OpenDocument.OdpPresentation required
imageOptions OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
conversionOptions OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<IReadOnlyList<OfficeImageExportResult>>