Column

Inheritance: java.lang.Object, com.aspose.slides.CellCollection

All Implemented Interfaces: com.aspose.slides.IColumn

public final class Column extends CellCollection implements IColumn

Represents a column in a table.

Methods

Method Description
getWidth() Returns or sets the width of a column.
setWidth(double value) Returns or sets the width of a column.
setTextFormat(IPortionFormat source) Sets defined portion format properties to all column cells’ portions.
setTextFormat(IParagraphFormat source) Sets defined paragraph format properties to all column cells’ paragraphs.
setTextFormat(ITextFrameFormat source) Sets defined text frame format properties to all column cells’ text frames.
getColumnFormat() Returns the ColumnFormat object that contains formatting properties for this column.

getWidth()

public final double getWidth()

Returns or sets the width of a column. Read/write double.

Returns: double

setWidth(double value)

public final void setWidth(double value)

Returns or sets the width of a column. Read/write double.

Parameters:

Parameter Type Description
value double

setTextFormat(IPortionFormat source)

public final void setTextFormat(IPortionFormat source)

Sets defined portion format properties to all column cells’ portions.

Parameters:

Parameter Type Description
source IPortionFormat IPortionFormat object with necessary properties set.

setTextFormat(IParagraphFormat source)

public final void setTextFormat(IParagraphFormat source)

Sets defined paragraph format properties to all column cells’ paragraphs.

Parameters:

Parameter Type Description
source IParagraphFormat IParagraphFormat object with necessary properties set.

setTextFormat(ITextFrameFormat source)

public final void setTextFormat(ITextFrameFormat source)

Sets defined text frame format properties to all column cells’ text frames.

Parameters:

Parameter Type Description
source ITextFrameFormat ITextFrameFormat object with necessary properties set.

getColumnFormat()

public final IColumnFormat getColumnFormat()

Returns the ColumnFormat object that contains formatting properties for this column. Read-only IColumnFormat.

Returns: IColumnFormat