'Declaration Public Enum WorksheetColumnWidthUnit Inherits System.Enum
public enum WorksheetColumnWidthUnit : System.Enum
Member | Description |
---|---|
Character | The column width is represented in units of the '0' digit character width, including column padding. The digit is measured with the default font for the workbook. The padding is a few pixels on either side of the column plus an additional pixel for the gridline. |
Character256th | The column width is represented in 256ths of the '0' digit character width, including column padding, which means this value will be 256 times the width expressed in Character units. The digit is measured with the default font for the workbook. The padding is a few pixels on either side of the column plus an additional pixel for the gridline. These units are the units in which the WorksheetColumn.Width and Worksheet.DefaultColumnWidth properties are expressed. |
CharacterPaddingExcluded | The column width is represented in units of the '0' digit character width, excluding padding. The digit is measured with the default font for the workbook. These units are the units in which Microsoft Excel displays column widths to the user and accepts new column widths from the user in the 'Column Width' dialog. |
Pixel | The column width is represented in pixels. |
Point | The column width is represented in points. |
Twip | The column width is represented in twips (20ths of a point). |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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