TExcelMetrics.DefColWidthAdapt Method
Convert the DEFAULT column width to resolution-independent-pixels (1/96 of an inch). This is different from ColMult, that goes in a column by column basis. See Excel Internal Units for more information in Excel internal units.
Syntax
Unit: FlexCel.Core
class function TExcelMetrics.DefColWidthAdapt(const width: Integer; const workbook: TCoreExcelFile): Integer; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | width | Integer | |
const | workbook | TCoreExcelFile |