set_view_column_width_pixel method

set_view_column_width_pixel

Sets the width of the column in different view.

def set_view_column_width_pixel(self, column, pixels):
    ...
ParameterTypeDescription
columnintThe column index.
pixelsintThe width in unit of pixels.

Remarks

If the current view type is ViewType.PAGE_LAYOUT_VIEW, the column’s width is same as printed width.

See Also