Cells.SetViewColumnWidthPixel method

Sets the width of the column in different view.

public void SetViewColumnWidthPixel(int column, int pixels)
Parameter Type Description
column Int32 The column index.
pixels Int32 The width in unit of pixels.


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

See Also