auto_fit_column metod
auto_fit_column(self, column_index)
Anpassar kolumnbredden automatiskt.
def auto_fit_column(self, column_index):
...
| Parameter | Typ | Beskrivning |
|---|---|---|
| column_index | int | Kolumnindex. |
Anmärkningar
AutoFitColumn är en oprecis funktion.
auto_fit_column(self, column_index, first_row, last_row)
Anpassar kolumnbredden automatiskt.
def auto_fit_column(self, column_index, first_row, last_row):
...
| Parameter | Typ | Beskrivning |
|---|---|---|
| column_index | int | Kolumnindex. |
| first_row | int | Första radens index. |
| last_row | int | Index för sista raden. |
Anmärkningar
Den här metoden anpassar automatiskt en rad baserat på innehållet i ett cellområde inom raden.
Se även
- modul
aspose.cells - klass
Worksheet