public class TableField extends Object
Represents a field of a table in Project.
Constructor and Description |
---|
TableField()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getAlignData()
Gets the alignment of data in a table field.
|
int |
getAlignTitle()
Gets the alignment of the title in a table field.
|
int |
getField()
Gets the type of a table field.
|
Table |
getParentTable()
Gets the parent of the
TableField object. |
String |
getTitle()
Gets the title of the field in a table.
|
int |
getWidth()
Gets the width in points of the field column in a table.
|
boolean |
getWrapHeader()
Returns a flag which specifies whether the table column heading can wrap to multiple lines, or if it should be truncated when it exceeds the column width.
|
boolean |
getWrapText()
Returns a flag which specifies whether the column text can wrap to multiple lines, or if it should be truncated when it exceeds the column width.
|
void |
setAlignData(int value)
Sets the alignment of data in a table field.
|
void |
setAlignTitle(int value)
Sets the alignment of the title in a table field.
|
void |
setField(int value)
Sets the type of a table field.
|
void |
setTitle(String value)
Sets the title of the field in a table.
|
void |
setWidth(int value)
Sets the width in points of the field column in a table.
|
void |
setWrapHeader(boolean value)
Sets a flag which specifies whether the table column heading can wrap to multiple lines, or if it should be truncated when it exceeds the column width.
|
void |
setWrapText(boolean value)
Sets a flag which specifies whether the column text can wrap to multiple lines, or if it should be truncated when it exceeds the column width.
|
public int getAlignData()
Gets the alignment of data in a table field.
Read/write StringAlignment
.
public void setAlignData(int value)
value
- the specified value.public int getAlignTitle()
Gets the alignment of the title in a table field.
Read/write StringAlignment
.
public void setAlignTitle(int value)
value
- the specified value.public int getField()
Gets the type of a table field.
Read/write Field
.
public void setField(int value)
value
- the specified value.public Table getParentTable()
Gets the parent of the TableField
object.
Read-only Table
.
public String getTitle()
Gets the title of the field in a table.
Read/write string
.
public void setTitle(String value)
value
- the specified value.public int getWidth()
Gets the width in points of the field column in a table.
Read/write int
.
public void setWidth(int value)
value
- the specified value.public boolean getWrapHeader()
Returns a flag which specifies whether the table column heading can wrap to multiple lines, or if it should be truncated when it exceeds the column width.
public void setWrapHeader(boolean value)
Sets a flag which specifies whether the table column heading can wrap to multiple lines, or if it should be truncated when it exceeds the column width.
value
- a flag which determines whether the table column heading can wrap to multiple lines, or if it should be truncated when it exceeds the column width.public boolean getWrapText()
Returns a flag which specifies whether the column text can wrap to multiple lines, or if it should be truncated when it exceeds the column width. Supported by MSP 2010 version and later.
public void setWrapText(boolean value)
Sets a flag which specifies whether the column text can wrap to multiple lines, or if it should be truncated when it exceeds the column width. Supported by MSP 2010 version and later.
value
- a flag which determines whether the column text can wrap to multiple lines, or if it should be truncated when it exceeds the column width.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.