public final class Row extends Object implements com.aspose.ms.System.ICloneable
Represents a row of the table.
Constructor and Description |
---|
Row()
Initializes a new instance of the Row class.
|
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clone the row.
|
Color |
getBackgroundColor()
Gets the background color.
|
BorderInfo |
getBorder()
Gets the border.
|
Cells |
getCells()
Gets the getCells() of the row.
|
BorderInfo |
getDefaultCellBorder()
Gets default cell border;
|
MarginInfo |
getDefaultCellPadding()
Gets default margin for row getCells()
|
TextState |
getDefaultCellTextState()
Gets or sets default text state for row getCells()
Gets default text state for row getCells()
|
double |
getFixedRowHeight()
Gets fixed row height - row may have fixed height;
|
double |
getMinRowHeight()
Gets height for row;
|
int |
getVerticalAlignment()
Gets or sets the vertical alignment.
|
boolean |
isInNewPage()
Gets fixed row is in new page - page with this property should be printed to next page
Default false;
|
boolean |
isRowBroken()
Gets is row can be broken between two pages
|
void |
setBackgroundColor(Color value)
Sets the background color.
|
void |
setBorder(BorderInfo value)
Sets the border.
|
void |
setCells(Cells value)
Sets the getCells() of the row.
|
void |
setDefaultCellBorder(BorderInfo value)
Sets default cell border;
|
void |
setDefaultCellPadding(MarginInfo value)
Sets default margin for row getCells()
|
void |
setDefaultCellTextState(TextState value)
Sets default text state for row getCells()
|
void |
setFixedRowHeight(double value)
Sets fixed row height - row may have fixed height;
|
void |
setInNewPage(boolean value)
Sets is row can be broken between two pages
|
void |
setMinRowHeight(double value)
Sets height for row;
|
void |
setRowBroken(boolean value)
Sets is row can be broken between two pages
|
void |
setVerticalAlignment(int value)
Gets or sets the vertical alignment.
|
public Object deepClone()
Clone the row.
deepClone
in interface com.aspose.ms.System.ICloneable
public Color getBackgroundColor()
Gets the background color.
public void setBackgroundColor(Color value)
Sets the background color.
value
- Color valuepublic BorderInfo getBorder()
Gets the border.
public void setBorder(BorderInfo value)
Sets the border.
value
- BorderInfo valuepublic Cells getCells()
Gets the getCells() of the row.
public void setCells(Cells value)
Sets the getCells() of the row.
value
- getCells() valuepublic BorderInfo getDefaultCellBorder()
Gets default cell border;
public void setDefaultCellBorder(BorderInfo value)
Sets default cell border;
value
- BorderInfo valuepublic double getMinRowHeight()
Gets height for row;
public void setMinRowHeight(double value)
Sets height for row;
value
- double valuepublic double getFixedRowHeight()
Gets fixed row height - row may have fixed height;
public void setFixedRowHeight(double value)
Sets fixed row height - row may have fixed height;
value
- double valuepublic boolean isInNewPage()
Gets fixed row is in new page - page with this property should be printed to next page Default false;
public void setInNewPage(boolean value)
Sets is row can be broken between two pages
value
- boolean valuepublic boolean isRowBroken()
Gets is row can be broken between two pages
public void setRowBroken(boolean value)
Sets is row can be broken between two pages
value
- boolean valuepublic TextState getDefaultCellTextState()
Gets or sets default text state for row getCells()
Gets default text state for row getCells()public void setDefaultCellTextState(TextState value)
Sets default text state for row getCells()
value
- TextState valuepublic MarginInfo getDefaultCellPadding()
Gets default margin for row getCells()
public void setDefaultCellPadding(MarginInfo value)
Sets default margin for row getCells()
value
- MarginInfo valuepublic int getVerticalAlignment()
Gets or sets the vertical alignment.
VerticalAlignment
public void setVerticalAlignment(int value)
Gets or sets the vertical alignment.
value
- VerticalAlignment elementVerticalAlignment