ComponentOne Excel for UWP
C1.UWP.Excel Assembly / C1.Xaml.Excel Namespace / XLColumn Class / Width Property

In This Topic
    Width Property
    In This Topic
    Gets or sets the width of the column, in twips.
    Syntax
    'Declaration
     
    Public Property Width As System.Integer
    public System.int Width {get; set;}
    Remarks

    A value of -1 indicates that the column should be displayed using the sheet's XLSheet.DefaultColumnWidth.

    To convert between pixels and twips, use the C1XLBook.TwipsToPixels and PixelsToTwips methods.

    See Also