Click or drag to resize

CellsSetViewColumnWidthPixel Method

Sets the width of the column in different view.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.5.0.0 (21.5)
Syntax
public void SetViewColumnWidthPixel(
	int column,
	int pixels
)

Parameters

column
Type: SystemInt32
The column index.
pixels
Type: SystemInt32
The width in unit of pixels.
Remarks
If the current view type is PageLayoutView, the column's width is same as printed width.
See Also