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

    Show / Hide Table of Contents

    TextColumnCollection Class

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

    Represents a collection of TextColumns in a Section.

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

    This collection is read-only. To change Section's columns, assign a new instance of a TextColumnCollection to a TextColumns property on a parent Section.

    Constructors

    TextColumnCollection(Int32)

    Initializes a new instance of the TextColumnCollection class.

    • C#
    • VB.NET
    public TextColumnCollection(int columnsCount)
    Public Sub New(columnsCount As Integer)
    Parameters
    columnsCount
    System.Int32

    The number of text columns.

    Properties

    EvenlySpaced

    Gets or sets a value indicating whether all text columns have equal width and are evenly spaced.

    • C#
    • VB.NET
    public bool EvenlySpaced { get; set; }
    Public Property EvenlySpaced As Boolean
    Property Value
    System.Boolean

    true if all columns have equal width and are evenly spaced; otherwise, false.

    LineBetween

    Gets or sets a value indicating whether to show or not the line between two TextColumn.

    • C#
    • VB.NET
    public bool LineBetween { get; set; }
    Public Property LineBetween As Boolean
    Property Value
    System.Boolean

    true to show the line between two TextColumn; otherwise, false.

    SpaceAfter

    Gets or sets the amount of space between each column (in points). Set this property only if EvenlySpaced is true.

    • C#
    • VB.NET
    public double SpaceAfter { get; set; }
    Public Property SpaceAfter As Double
    Property Value
    System.Double

    The amount of space between each column (in points).

    Remarks

    The default value for this property is 35.4 points.

    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.