public class Table extends Object
Represents a table in Project
Constructor and Description |
---|
Table()
Initializes a new instance of the
Table class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
|
boolean |
getAdjustHeaderRowHeight()
Gets a value indicating whether the header row height of the table can be adjusted.
|
int |
getDateFormat()
Gets the date format of the table.
|
int |
getIndex()
Gets the index of a Table object in the Tables containing object.
|
boolean |
getLockFirstColumn()
Gets a value indicating whether the first column of a table is locked or editable.
|
String |
getName()
Gets the name of a Table object.
|
Project |
getParentProject()
Gets the parent of the Table object.
|
int |
getRowHeight()
Gets the row height in a table, where the row height is the number of lines of text.
|
boolean |
getShowAddNewColumn()
Gets a value indicating whether to show 'Add New Column' interface.
|
boolean |
getShowInMenu()
Gets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the
Ribbon.
|
TableFieldCollection |
getTableFields()
Gets a TableFields collection representing the fields in the table.
|
int |
getTableType()
Gets the table type for the specified table.
|
int |
getUid()
Gets the unique identifier of a table.
|
int |
hashCode()
Returns a hash code for this Table.
|
void |
setAdjustHeaderRowHeight(boolean value)
Sets a value indicating whether the header row height of the table can be adjusted.
|
void |
setDateFormat(int value)
Sets the date format of the table.
|
void |
setLockFirstColumn(boolean value)
Sets a value indicating whether the first column of a table is locked or editable.
|
void |
setName(String value)
Sets the name of a Table object.
|
void |
setRowHeight(int value)
Sets the row height in a table, where the row height is the number of lines of text.
|
void |
setShowAddNewColumn(boolean value)
Sets a value indicating whether to show 'Add New Column' interface.
|
void |
setShowInMenu(boolean value)
Sets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the
Ribbon.
|
public Table()
Initializes a new instance of the Table
class.
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
public final boolean getAdjustHeaderRowHeight()
Gets a value indicating whether the header row height of the table can be adjusted.
public final void setAdjustHeaderRowHeight(boolean value)
Sets a value indicating whether the header row height of the table can be adjusted.
value
- a value indicating whether the header row height of the table can be adjusted.public final int getDateFormat()
Gets the date format of the table.
public final void setDateFormat(int value)
Sets the date format of the table.
value
- the date format of the table.public final int getIndex()
Gets the index of a Table object in the Tables containing object.
public final boolean getLockFirstColumn()
Gets a value indicating whether the first column of a table is locked or editable.
public final void setLockFirstColumn(boolean value)
Sets a value indicating whether the first column of a table is locked or editable.
value
- a value indicating whether the first column of a table is locked or editable.public final String getName()
Gets the name of a Table object.
public final void setName(String value)
Sets the name of a Table object.
value
- the name of a Table object.public final Project getParentProject()
Gets the parent of the Table object.
Read-only Project
.
public final int getRowHeight()
Gets the row height in a table, where the row height is the number of lines of text.
public final void setRowHeight(int value)
Sets the row height in a table, where the row height is the number of lines of text.
value
- the row height in a table, where the row height is the number of lines of text.public final boolean getShowAddNewColumn()
Gets a value indicating whether to show 'Add New Column' interface.
public final void setShowAddNewColumn(boolean value)
Sets a value indicating whether to show 'Add New Column' interface.
value
- a value indicating whether to show 'Add New Column' interface.public final boolean getShowInMenu()
Gets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon.
public final void setShowInMenu(boolean value)
Sets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon.
value
- a value indicating whether project shows the table name in the Tables drop-down list on the
View tab of the Ribbon.public final TableFieldCollection getTableFields()
Gets a TableFields collection representing the fields in the table.
public final int getTableType()
Gets the table type for the specified table. Read-only ItemType
.
public final int getUid()
Gets the unique identifier of a table.
Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.