GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    TableColumnCollection Class

    Namespace:
    GemBox.Document.Tables
    Assembly:
    GemBox.Document.dll

    Represents a set of TableColumns which define all of the shared vertical edges of the table, as well as default widths for each of these TableColumns.

    • C#
    • VB.NET
    public sealed class TableColumnCollection : Collection<TableColumn>, IList<TableColumn>, ICollection<TableColumn>, IList, ICollection, IReadOnlyList<TableColumn>, IReadOnlyCollection<TableColumn>, IEnumerable<TableColumn>, IEnumerable
    Public NotInheritable Class TableColumnCollection
        Inherits Collection(Of TableColumn)
        Implements IList(Of TableColumn), ICollection(Of TableColumn), IList, ICollection, IReadOnlyList(Of TableColumn), IReadOnlyCollection(Of TableColumn), IEnumerable(Of TableColumn), IEnumerable
    Inheritance:
    System.Object
    System.Collections.ObjectModel.Collection<TableColumn>
    TableColumnCollection
    Implements
    System.Collections.Generic.IList<TableColumn>
    System.Collections.Generic.ICollection<TableColumn>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyList<TableColumn>
    System.Collections.Generic.IReadOnlyCollection<TableColumn>
    System.Collections.Generic.IEnumerable<TableColumn>
    System.Collections.IEnumerable
    Remarks

    Used as a container for a Columns property.

    Table could have less or more columns than the number of columns in this collection when it is rendered, depending on how many TableCell there are in each TableRow in a table.

    Constructors

    TableColumnCollection()

    Initializes a new instance of the TableColumnCollection class.

    • C#
    • VB.NET
    public TableColumnCollection()
    Public Sub New

    TableColumnCollection(TableColumn[])

    Initializes a new instance of the TableColumnCollection class with a specified table columns.

    • C#
    • VB.NET
    public TableColumnCollection(params TableColumn[] columns)
    Public Sub New(ParamArray columns As TableColumn())
    Parameters
    columns
    TableColumn[]

    The table columns.

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyList<T>
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.