public final class Table extends BaseParagraph implements com.aspose.ms.System.ICloneable
Represents a table that can be added to the page.
Constructor and Description |
---|
Table() |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clone the table.
|
int |
getAlignment()
Gets or sets the table alignment.
|
Color |
getBackgroundColor()
Gets or sets table background color
|
BorderInfo |
getBorder()
Gets or sets the border.
|
int |
getBroken()
Gets table vertial broken.;
|
static double |
getColumnWidth(String stringColumnWidth)
Get column width
|
String |
getColumnWidths()
Gets the column widths of the table.
|
int |
getCornerStyle()
Gets the styles of the border corners
|
BorderInfo |
getDefaultCellBorder()
Gets default cell border;
|
MarginInfo |
getDefaultCellPadding()
Gets or sets the default cell padding.
|
TextState |
getDefaultCellTextState()
Gets or sets the default cell text state.
|
String |
getDefaultColumnWidth()
Gets default cell border;
|
double |
getHeight()
Get height.
|
double |
getLeft()
Gets or sets the table left coordinate.
|
int |
getRepeatingRowsCount()
Gets the first rows count repeated for several pages
|
TextState |
getRepeatingRowsStyle()
Gets the style for repeating rows
|
Rows |
getRows()
Gets the rows of the table.
|
double |
getTop()
Gets or sets the table top coordinate.
|
boolean |
isBroken()
Gets or sets the table is broken - will be truncated for next page.
|
void |
setAlignment(int value) |
void |
setBackgroundColor(Color value) |
void |
setBorder(BorderInfo value) |
void |
setBroken(boolean value) |
void |
setBroken(int value) |
void |
setColumnTextState(int colNumber,
TextState textState)
Set height.
|
void |
setColumnWidths(String value) |
void |
setCornerStyle(int value) |
void |
setDefaultCellBorder(BorderInfo value) |
void |
setDefaultCellPadding(MarginInfo value) |
void |
setDefaultCellTextState(TextState value) |
void |
setDefaultColumnWidth(String value) |
void |
setLeft(double value) |
void |
setRepeatingRowsCount(int value) |
void |
setRepeatingRowsStyle(TextState value) |
void |
setTop(double value) |
getHorizontalAlignment, getMargin, isInNewPage, isKeptWithNext, setHorizontalAlignment, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment
public static double getColumnWidth(String stringColumnWidth)
Get column width
stringColumnWidth
- The string representation.public double getHeight()
Get height.
public void setColumnTextState(int colNumber, TextState textState)
Set height.
colNumber
- The column number.textState
- The text state for column.public Object deepClone()
Clone the table.
deepClone
in interface com.aspose.ms.System.ICloneable
public Color getBackgroundColor()
Gets or sets table background color
public void setBackgroundColor(Color value)
public int getCornerStyle()
Gets the styles of the border corners
public void setCornerStyle(int value)
public TextState getRepeatingRowsStyle()
Gets the style for repeating rows
public void setRepeatingRowsStyle(TextState value)
public int getRepeatingRowsCount()
Gets the first rows count repeated for several pages
public void setRepeatingRowsCount(int value)
public String getColumnWidths()
Gets the column widths of the table.
public void setColumnWidths(String value)
public int getBroken()
Gets table vertial broken.;
public void setBroken(int value)
public BorderInfo getDefaultCellBorder()
Gets default cell border;
public void setDefaultCellBorder(BorderInfo value)
public String getDefaultColumnWidth()
Gets default cell border;
public void setDefaultColumnWidth(String value)
public Rows getRows()
Gets the rows of the table.
public BorderInfo getBorder()
Gets or sets the border.
public void setBorder(BorderInfo value)
public MarginInfo getDefaultCellPadding()
Gets or sets the default cell padding.
public void setDefaultCellPadding(MarginInfo value)
public TextState getDefaultCellTextState()
Gets or sets the default cell text state.
public void setDefaultCellTextState(TextState value)
public int getAlignment()
Gets or sets the table alignment.
public void setAlignment(int value)
public double getLeft()
Gets or sets the table left coordinate.
public void setLeft(double value)
public double getTop()
Gets or sets the table top coordinate.
public void setTop(double value)
public boolean isBroken()
Gets or sets the table is broken - will be truncated for next page.
public void setBroken(boolean value)
Copyright © 2014 Aspose. All Rights Reserved.