Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

GoogleSheetsImporter

Namespace OfficeIMO.Excel.GoogleSheets
Assembly OfficeIMO.Excel.GoogleSheets
Modifiers sealed

Imports Google spreadsheets through either loss-minimizing Drive conversion or the native Sheets model.

Inheritance

  • Object
  • GoogleSheetsImporter

Constructors

public GoogleSheetsImporter() #

Methods

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

Loads a Google spreadsheet and returns a caller-owned Excel document with source metadata.

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