Column

Overview

Column is a class in Aspose.Cells FOSS for Java.

Represents a column in a worksheet.

This class provides 8 methods for working with Column objects in Java programs. Available methods include: getGroupLevel, getWidth, isCollapsed, isHidden, setCollapsed, setGroupLevel, setHidden, setWidth. All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: collapsed, groupLevel, hidden, width.

Properties

NameTypeAccessDescription
widthDoubleReadReturns the width.
hiddenbooleanReadReturns the hidden.
groupLevelintReadReturns the outline/group nesting level (0 = ungrouped, 1–7).
collapsedbooleanReadReturns true if this column’s outline group is collapsed.

Methods

SignatureDescription
getWidth()DoubleReturns the width.
setWidth(value: Double)Sets the width.
isHidden()booleanReturns the hidden.
setHidden(value: boolean)Sets the hidden.
getGroupLevel()intReturns the outline/group nesting level (0 = ungrouped, 1–7).
setGroupLevel(level: int)Sets the outline/group nesting level (0 = ungrouped, 1–7).
isCollapsed()booleanReturns true if this column’s outline group is collapsed.
setCollapsed(value: boolean)Sets whether this column’s outline group is collapsed.

See Also