Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Interface

IGoogleDocsImporter

Namespace OfficeIMO.Word.GoogleDocs
Assembly OfficeIMO.Word.GoogleDocs
Modifiers abstract

Imports a Google document into a caller-owned Word document.

Methods

public abstract Task<GoogleDocsImportResult> ImportAsync(String documentId, GoogleWorkspaceSession session, GoogleDocsImportOptions options = null, CancellationToken cancellationToken = default) #
Returns: Task<GoogleDocsImportResult>

Loads a document through Drive-exported DOCX or native Docs projection.

Parameters

documentId System.String requiredposition: 0
session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession requiredposition: 1
options OfficeIMO.Word.GoogleDocs.GoogleDocsImportOptions = null optionalposition: 2
cancellationToken System.Threading.CancellationToken = default optionalposition: 3