HotXLS-dokumentation

StandardWidth egenskab

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

Syntaks

property StandardWidth: Double;

Bemærkninger

Én enhed kolonnebredde svarer til bredden af ét tegn i typografien Normal. For proportionale skrifttyper bruges bredden af tegnet 0 (nul)

Eksempel

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;