HotXLS-dokumentation

StandardWidth egenskap

Returnerar or sets the standard (default) width of all the columns in the Worksheet. Read/write Double

Syntax

property StandardWidth: Double;

Anmärkningar

En enhet kolumnbredd motsvarar bredden på ett tecken i stilen Normal. För proportionella typsnitt används bredden på tecknet 0 (noll)

Exempel

This example sets the width of column one on Sheet1 to the standard width

With Workbook.Sheets[1] do begin
   Cells.Columns[1].ColumnWidth := StandardWidth;
end;