Dokumentacija HotXLS Vsebina Domov Pregled TGridToXLS IXLSWorkbook Domov Vsebina Pregled

ColumnWidth lastnost

Vrne or sets the width of all columns in the specified range. Read/write OleVariant

Skladnja

property ColumnWidth: OleVariant;

Opombe

One unit of column width is equal to the width of one character in the Normal style. For proportional fonts, the width of the character 0 (zero) is used

Primer

This example doubles the width of column A on sheet one
With Workbook.Sheets[1].Range['A1', 'A1'] do begin ColumnWidth := ColumnWidth * 2; end; Copyright © 2010-2026 losLab Software