Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Interface

IGoogleSheetsImporter

Namespace OfficeIMO.Excel.GoogleSheets
Assembly OfficeIMO.Excel.GoogleSheets
Modifiers abstract

Imports a Google spreadsheet into a caller-owned Excel document.

Methods

public abstract Task<GoogleSheetsImportResult> ImportAsync(String spreadsheetId, GoogleWorkspaceSession session, GoogleSheetsImportOptions options = null, CancellationToken cancellationToken = default) #
Returns: Task<GoogleSheetsImportResult>

Loads a spreadsheet through Drive-exported XLSX or native Sheets projection.

Parameters

spreadsheetId System.String requiredposition: 0
session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession requiredposition: 1
options OfficeIMO.Excel.GoogleSheets.GoogleSheetsImportOptions = null optionalposition: 2
cancellationToken System.Threading.CancellationToken = default optionalposition: 3