[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITables

Interface ITables

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Represents a collection of all the ITable objects on a worksheet. Each ITable object represents a list in the worksheet.

public interface ITables : IEnumerable
Inherited Members
System.Collections.IEnumerable.GetEnumerator()

Properties

Count

Returns the number of objects in the collection (read-only).

int Count { get; }

Property Value

int

this[int]

Gets the ITable at the specified index.

ITable this[int index] { get; }

Parameters

index int

The index.

Property Value

ITable

this[string]

Gets the ITable with the specified name.

ITable this[string name] { get; }

Parameters

name string

The ITable name.

Property Value

ITable

Methods

Add(IRange, bool)

Creates a table that includes the specified range of cells and returns the newly created object.

ITable Add(IRange range, bool containsHeader = false)

Parameters

range IRange

The applied range.

containsHeader bool

Whether the range contains a header.

Returns

ITable

Returns ITable

FromJson(string)

Generate the tables from json string.

void FromJson(string json)

Parameters

json string

The JSON string representing the tables.

ToJson()

Generate the string from tables.

string ToJson()

Returns

string

The JSON string representing the tables.