XlsWorksheet SetColumnWidthInPixels Method |
| Name | Description | |
|---|---|---|
|
|
SetColumnWidthInPixels(Int32, Int32) |
Sets column width in pixels.
The following code illustrates how to set width for a column:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Set column width</para><para>worksheet.SetColumnWidthInPixels(2, 160);</para><para>//Save to file</para><para>workbook.SaveToFile("SetColumnWidthInPixels.xlsx");</para>
|
|
|
SetColumnWidthInPixels(Int32, Int32, Int32) |
Sets the width of the specified columns.
|