width property

width property

Gets and sets the column width in unit of characters.

Remarks

For spreadsheet, column width is measured as the number of characters of the maximum digit width of the numbers 0~9 as rendered in the normal style’s font.

Definition:

@property
def width(self):
    ...
@width.setter
def width(self, value):
    ...

See Also