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

MethodDescription
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:

ParameterTypeDescription
valuedouble

setTextFormat(IPortionFormat source)

public final void setTextFormat(IPortionFormat source)

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

Parameters:

ParameterTypeDescription
sourceIPortionFormatIPortionFormat 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:

ParameterTypeDescription
sourceIParagraphFormatIParagraphFormat 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:

ParameterTypeDescription
sourceITextFrameFormatITextFrameFormat 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