Row

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

All Implemented Interfaces: com.aspose.slides.IRow

public final class Row extends CellCollection implements IRow

Represents a row in a table.

Methods

MethodDescription
getHeight()Returns the height of a row.
getMinimalHeight()Returns or sets the minimal possible height of a row.
setMinimalHeight(double value)Returns or sets the minimal possible height of a row.
setTextFormat(IPortionFormat source)Sets defined portion format properties to all row cells’ portions.
setTextFormat(IParagraphFormat source)Sets defined paragraph format properties to all row cells’ paragraphs.
setTextFormat(ITextFrameFormat source)Sets defined text frame format properties to all row cells’ text frames.
getRowFormat()Returns the RowFormat object that contains formatting properties for this row.

getHeight()

public final double getHeight()

Returns the height of a row. Read-only double.

Returns: double

getMinimalHeight()

public final double getMinimalHeight()

Returns or sets the minimal possible height of a row. Read/write double.

Returns: double

setMinimalHeight(double value)

public final void setMinimalHeight(double value)

Returns or sets the minimal possible height of a row. Read/write double.

Parameters:

ParameterTypeDescription
valuedouble

setTextFormat(IPortionFormat source)

public final void setTextFormat(IPortionFormat source)

Sets defined portion format properties to all row 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 row 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 row cells’ text frames.

Parameters:

ParameterTypeDescription
sourceITextFrameFormatITextFrameFormat object with necessary properties set.

getRowFormat()

public final IRowFormat getRowFormat()

Returns the RowFormat object that contains formatting properties for this row. Read-only IRowFormat.

Returns: IRowFormat