Class
PowerPointGoogleSlidesExtensions
OfficeIMO.PowerPoint.GoogleSlides
Convenience entry points for Slides planning, export, and import.
Inheritance
- object
- PowerPointGoogleSlidesExtensions
Methods
public static GoogleSlidesBatch BuildGoogleSlidesBatch(PowerPointDocument presentation, GoogleSlidesSaveOptions? options = null) #Prepares an export batch, rendering complex-slide images locally when selected.
Parameters
- presentation OfficeIMO.PowerPoint.PowerPointDocument
- options OfficeIMO.PowerPoint.GoogleSlides.GoogleSlidesSaveOptions? = null
Returns
GoogleSlidesBatchpublic static GoogleSlidesTranslationPlan BuildGoogleSlidesPlan(PowerPointDocument presentation, GoogleSlidesSaveOptions? options = null) #Reports presentation export choices without rendering whole-slide fallback images or contacting Google.
Parameters
- presentation OfficeIMO.PowerPoint.PowerPointDocument
- options OfficeIMO.PowerPoint.GoogleSlides.GoogleSlidesSaveOptions? = null
Returns
GoogleSlidesTranslationPlanpublic static Task<GooglePresentationReference> ExportToGoogleSlidesAsync(PowerPointDocument presentation, GoogleWorkspaceSession session, GoogleSlidesSaveOptions? options = null, CancellationToken cancellationToken = default) #Creates or replaces a Google presentation using the supplied session.
Parameters
- presentation OfficeIMO.PowerPoint.PowerPointDocument
- session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession
- options OfficeIMO.PowerPoint.GoogleSlides.GoogleSlidesSaveOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<GooglePresentationReference>public static Task<GoogleSlidesImportResult> ImportGoogleSlidesAsync(GoogleWorkspaceSession session, string presentationId, GoogleSlidesImportOptions? options = null, CancellationToken cancellationToken = default) #Imports a Google presentation and returns a caller-owned OfficeIMO presentation.
Parameters
- session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession
- presentationId string
- options OfficeIMO.PowerPoint.GoogleSlides.GoogleSlidesImportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<GoogleSlidesImportResult>