Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Interface

IGoogleDocsImporter

OfficeIMO.Word.GoogleDocs

Namespace
OfficeIMO.Word.GoogleDocs
Assembly
OfficeIMO.Word.GoogleDocs
Source revision
ba882f6b0d07 with working tree changes
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) #

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

Parameters

documentId string required
session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession required
options OfficeIMO.Word.GoogleDocs.GoogleDocsImportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional