DocumentTableSet Class
Provides access to data of multiple tables (or spreadsheets) located in an external document to be used while assembling a document. Also, enables to define parent-child relations for the document tables thus simplifying access to related data within template documents.
Inheritance Hierarchy
SystemObject
  GroupDocs.Assembly.DataDocumentTableSet

Namespace: GroupDocs.Assembly.Data
Assembly: GroupDocs.Assembly (in GroupDocs.Assembly.dll) Version: 18.2
Syntax
public class DocumentTableSet

The DocumentTableSet type exposes the following members.

Constructors
  NameDescription
Public methodDocumentTableSet(Stream)
Creates a new instance of this class loading all tables from a document using default DocumentTableOptions.
Public methodDocumentTableSet(String)
Creates a new instance of this class loading all tables from a document using default DocumentTableOptions.
Public methodDocumentTableSet(Stream, IDocumentTableLoadHandler)
Creates a new instance of this class.
Public methodDocumentTableSet(String, IDocumentTableLoadHandler)
Creates a new instance of this class.
Properties
  NameDescription
Public propertyRelations
Gets the collection of parent-child relations defined for document tables of this set.
Public propertyTables
Gets the collection of DocumentTable objects representing tables of this set.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Remarks

For documents of Spreadsheet file formats, a DocumentTableSet instance represents a set of sheets. For documents of other file formats, a DocumentTableSet instance represents a set of tables.

To access data of the corresponding tables while assembling a document, pass an instance of this class as a data source to one of DocumentAssembler.AssembleDocument overloads.

In template documents, a DocumentTableSet instance should be treated in the same way as if it was a DataSet instance. See template syntax reference for more information.

See Also