Cells.GetColumnWidthPixel

GetColumnWidthPixel(int)

Gets the width of the specified column in normal view, in units of pixel.

public int GetColumnWidthPixel(int column)
ParameterTypeDescription
columnInt32Column index

Return Value

Width of column in normal view.

See Also


GetColumnWidthPixel(int, bool)

Gets the width of the specified column in normal view, in units of pixel.

[Obsolete("Use Cells.GetColumnWidth(int ,bool , CellsUnitType ) method, instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int GetColumnWidthPixel(int column, bool original)
ParameterTypeDescription
columnInt32Column index
originalBooleanIndicates whether returning original width even when the column is hidden

Return Value

Width of column in normal view.

Remarks

NOTE: This method is now obsolete. Instead, please use Cells.GetColumnWidth(int ,bool , CellsUnitType ) method. This method will be removed 12 months later since April 2024. Aspose apologizes for any inconvenience you may have experienced.

See Also