Sets or returns the default column width, in points (1/72 of an inch). |
<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> public double StandardWidth{ get; set; } </pre></td></tr></table> |
<p>Public Property StandardWidth() As Double</p> |
|
The maximum width of an Excel column is defined (by Excel) as 255 characters in the workbook's 'Normal' font. Because of this, workbooks with different normal fonts may have different maximum values for this property. Depending on your version of Excel, the default normal font is either 10pt Arial (Excel 2003 and earlier) or 11pt Calibri (Excel 2007 and later). Both of those have a character width of about 5.25 points, so the default maximum value for No matter your workbook's normal font, ExcelWriter will constrain this property to a valid range. Because Excel uses character widths instead of points internally you may see some small error when reading values from this property, usually of less than a point. |