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

    Show / Hide Table of Contents

    TableColumn Class

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

    Represents a logical column in a Table used to specify the presence of a shared vertical edge in the Table.

    • C#
    • VB.NET
    public sealed class TableColumn
    Public NotInheritable Class TableColumn
    Inheritance:
    System.Object
    TableColumn

    Constructors

    TableColumn()

    Initializes a new instance of the TableColumn class.

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

    TableColumn(Double)

    Initializes a new instance of the TableColumn class with a specified preferred width.

    • C#
    • VB.NET
    public TableColumn(double preferredWidth)
    Public Sub New(preferredWidth As Double)
    Parameters
    preferredWidth
    System.Double

    Preferred width of the TableColumn.

    Properties

    PreferredWidth

    Gets or sets the preferred width of the TableColumn.

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

    The preferred width of the TableColumn (in points).

    Remarks

    Works only if AutomaticallyResizeToFitContents is set to false.

    If PreferredWidth is zero, then MS Word will take a value of a next TableColumn non-zero PreferredWidth, if it exists in the Columns collection.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.