Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Table Class / GetColumnWidth Method
The index of the column.


In This Topic
    GetColumnWidth Method
    In This Topic
    Gets the width of the specified column (in points).
    Syntax
    'Declaration
     
    Public Function GetColumnWidth( _
       ByVal columnIndex As Integer _
    ) As Double
    'Usage
     
    Dim instance As Table
    Dim columnIndex As Integer
    Dim value As Double
     
    value = instance.GetColumnWidth(columnIndex)
    public double GetColumnWidth( 
       int columnIndex
    )

    Parameters

    columnIndex
    The index of the column.

    Return Value

    The width of the specified column (in points).
    Remarks

    The value return by this methid is expressed in points (pt).

    • To convert to 20th of a point (dxa) : pt*20
    • To convert to Inches (in) : pt*72
    • To convert to Centimeters (cm) : in*2.54
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also