Class TextColumnCollection
Represents a TextColumnCollection.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class TextColumnCollection : IEnumerable<TextColumn>, IEnumerable
Constructors
TextColumnCollection()
Initializes a new instance of the TextColumnCollection class.
Declaration
public TextColumnCollection()
TextColumnCollection(int)
Initializes a new instance of the TextColumnCollection class.
Declaration
public TextColumnCollection(int count)
Parameters
| Type | Name | Description |
|---|---|---|
| int | count | The count used by the operation. |
Properties
Count
Gets count.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
EvenlySpaced
True if text columns are of equal width and evenly spaced.
Declaration
public bool EvenlySpaced { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
this[int]
Gets this[int].
Declaration
public TextColumn this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| TextColumn |
LineBetween
When true, adds a vertical line between columns.
Declaration
public bool LineBetween { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Spacing
Gets or sets spacing.
Declaration
public double Spacing { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Width
When columns are evenly spaced, gets the width of the columns.
Declaration
public double Width { get; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
Add(TextColumn)
Adds the specified item to this collection.
Declaration
public void Add(TextColumn column)
Parameters
| Type | Name | Description |
|---|---|---|
| TextColumn | column | The column used by the operation. |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<TextColumn> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<TextColumn> | The resulting value. |
SetColumnCount(int)
Sets the column Count for this object.
Declaration
public void SetColumnCount(int count)
Parameters
| Type | Name | Description |
|---|---|---|
| int | count | The count used by the operation. |