Aspose.Tasks for C++
Aspose::Tasks::Table Class Reference

Represents a table in Project More...

#include <Table.h>

Inherits System::Object.

Public Member Functions

System::String get_Name () const
 Gets the name of a Table object. More...
 
void set_Name (const System::String &value)
 Sets the name of a Table object. More...
 
bool get_ShowInMenu () const
 Gets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon. More...
 
void set_ShowInMenu (bool value)
 Sets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon. More...
 
const System::SharedPtr< TableFieldCollection > & get_TableFields () const
 Gets a TableFields collection representing the fields in the table. More...
 
ItemType get_TableType () const
 Gets the table type for the specified table. Read-only ItemType. More...
 
int32_t get_Uid () const
 Gets the unique identifier of a table. More...
 
int32_t get_Index () const
 Gets the index of a Table object in the Tables containing object. More...
 
int32_t get_RowHeight () const
 Gets the row height in a table, where the row height is the number of lines of text. More...
 
void set_RowHeight (int32_t value)
 Sets the row height in a table, where the row height is the number of lines of text. More...
 
Aspose::Tasks::DateFormat get_DateFormat () const
 Gets the date format of the table. More...
 
void set_DateFormat (Aspose::Tasks::DateFormat value)
 Sets the date format of the table. More...
 
bool get_AdjustHeaderRowHeight () const
 Gets a value indicating whether the header row height of the table can be adjusted. More...
 
void set_AdjustHeaderRowHeight (bool value)
 Sets a value indicating whether the header row height of the table can be adjusted. More...
 
bool get_ShowAddNewColumn () const
 Gets a value indicating whether to show 'Add New Column' interface. More...
 
void set_ShowAddNewColumn (bool value)
 Sets a value indicating whether to show 'Add New Column' interface. More...
 
bool get_LockFirstColumn () const
 Gets a value indicating whether the first column of a table is locked or editable. More...
 
void set_LockFirstColumn (bool value)
 Sets a value indicating whether the first column of a table is locked or editable. More...
 
 Table ()
 Initializes a new instance of the Table class. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Returns a value indicating whether this instance is equal to a specified object. More...
 
int32_t GetHashCode () const override
 Returns a hash code for this Table. More...
 

Detailed Description

Represents a table in Project

Constructor & Destructor Documentation

◆ Table()

Aspose::Tasks::Table::Table ( )

Initializes a new instance of the Table class.

Member Function Documentation

◆ Equals()

bool Aspose::Tasks::Table::Equals ( System::SharedPtr< System::Object >  obj)
override

Returns a value indicating whether this instance is equal to a specified object.

Parameters
objThe object to compare with this instance.
Returns
True if the specified object is a Table that has the same UID value as this instance; otherwise, false.

◆ get_AdjustHeaderRowHeight()

bool Aspose::Tasks::Table::get_AdjustHeaderRowHeight ( ) const

Gets a value indicating whether the header row height of the table can be adjusted.

◆ get_DateFormat()

Aspose::Tasks::DateFormat Aspose::Tasks::Table::get_DateFormat ( ) const

Gets the date format of the table.

◆ get_Index()

int32_t Aspose::Tasks::Table::get_Index ( ) const

Gets the index of a Table object in the Tables containing object.

◆ get_LockFirstColumn()

bool Aspose::Tasks::Table::get_LockFirstColumn ( ) const

Gets a value indicating whether the first column of a table is locked or editable.

◆ get_Name()

System::String Aspose::Tasks::Table::get_Name ( ) const

Gets the name of a Table object.

◆ get_RowHeight()

int32_t Aspose::Tasks::Table::get_RowHeight ( ) const

Gets the row height in a table, where the row height is the number of lines of text.

◆ get_ShowAddNewColumn()

bool Aspose::Tasks::Table::get_ShowAddNewColumn ( ) const

Gets a value indicating whether to show 'Add New Column' interface.

Supported by MSP 2010 version and later.

◆ get_ShowInMenu()

bool Aspose::Tasks::Table::get_ShowInMenu ( ) const

Gets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon.

◆ get_TableFields()

const System::SharedPtr<TableFieldCollection>& Aspose::Tasks::Table::get_TableFields ( ) const

Gets a TableFields collection representing the fields in the table.

◆ get_TableType()

ItemType Aspose::Tasks::Table::get_TableType ( ) const

Gets the table type for the specified table. Read-only ItemType.

◆ get_Uid()

int32_t Aspose::Tasks::Table::get_Uid ( ) const

Gets the unique identifier of a table.

◆ GetHashCode()

int32_t Aspose::Tasks::Table::GetHashCode ( ) const
override

Returns a hash code for this Table.

Returns
Returns a hash code value for this object.

◆ set_AdjustHeaderRowHeight()

void Aspose::Tasks::Table::set_AdjustHeaderRowHeight ( bool  value)

Sets a value indicating whether the header row height of the table can be adjusted.

◆ set_DateFormat()

void Aspose::Tasks::Table::set_DateFormat ( Aspose::Tasks::DateFormat  value)

Sets the date format of the table.

◆ set_LockFirstColumn()

void Aspose::Tasks::Table::set_LockFirstColumn ( bool  value)

Sets a value indicating whether the first column of a table is locked or editable.

◆ set_Name()

void Aspose::Tasks::Table::set_Name ( const System::String &  value)

Sets the name of a Table object.

◆ set_RowHeight()

void Aspose::Tasks::Table::set_RowHeight ( int32_t  value)

Sets the row height in a table, where the row height is the number of lines of text.

◆ set_ShowAddNewColumn()

void Aspose::Tasks::Table::set_ShowAddNewColumn ( bool  value)

Sets a value indicating whether to show 'Add New Column' interface.

Supported by MSP 2010 version and later.

◆ set_ShowInMenu()

void Aspose::Tasks::Table::set_ShowInMenu ( bool  value)

Sets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon.