Aspose.Tasks for C++
|
Represents a view in Project. More...
#include <View.h>
Inherits System::IComparable< System::SharedPtr< Aspose::Tasks::View > >.
Inherited by Aspose::Tasks::GanttChartView, Aspose::Tasks::TimelineView, and Aspose::Tasks::UsageView.
Public Member Functions | |
System::SharedPtr< Aspose::Tasks::Filter > | get_Filter () |
Gets a filter used in a single view. More... | |
void | set_Filter (const System::SharedPtr< Aspose::Tasks::Filter > &value) |
Sets a filter used in a single view. More... | |
System::SharedPtr< Aspose::Tasks::Group > | get_Group () |
Gets a group of the single view. More... | |
void | set_Group (const System::SharedPtr< Aspose::Tasks::Group > &value) |
Sets a group of the single view. More... | |
int32_t | get_Uid () const |
Gets the unique identifier of a view. More... | |
bool | get_HighlightFilter () const |
Gets a value indicating whether Microsoft Project highlights the filter for a single view. More... | |
void | set_HighlightFilter (bool value) |
Sets a value indicating whether Microsoft Project highlights the filter for a single view. More... | |
System::String | get_Name () const |
Gets the name of a View object. More... | |
void | set_Name (const System::String &value) |
Sets the name of a View object. More... | |
ViewScreen | get_Screen () const |
Gets the screen type for the single view. Read-only ViewScreen. More... | |
const System::SharedPtr< Project > & | get_ParentProject () const |
Gets the parent of the View object. Read-only Project. More... | |
System::SharedPtr< Aspose::Tasks::Table > | get_Table () |
Gets a table of the single view. More... | |
void | set_Table (const System::SharedPtr< Aspose::Tasks::Table > &value) |
Sets a table of the single view. More... | |
ItemType | get_Type () const |
Gets the type of item in the single view, such as tasks or resources. Read-only ItemType. More... | |
bool | get_ShowInMenu () const |
Gets a value indicating whether Microsoft Project shows the single view name in the View or the Other Views drop-down lists in the Ribbon. More... | |
void | set_ShowInMenu (bool value) |
Sets a value indicating whether Microsoft Project shows the single view name in the View or the Other Views drop-down lists in the Ribbon. More... | |
System::SharedPtr< Aspose::Tasks::Visualization::PageInfo > | get_PageInfo () const |
Gets an instance of the PageInfo class. Represents page setup data which is present in mpp file format. More... | |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< Visualization::VisualObjectPlacement > > > | get_VisualObjectsPlacements () |
Gets a collection of objects representing placement and appearance of OleObject in the view. More... | |
View () | |
Initializes a new instance of the View class. More... | |
View (ViewScreen viewScreen) | |
Initializes a new instance of the View 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 value for the instance of the Resource class. More... | |
int32_t | CompareTo (System::SharedPtr< View > other) override |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. More... | |
Represents a view in Project.
Aspose::Tasks::View::View | ( | ) |
Initializes a new instance of the View class.
Aspose::Tasks::View::View | ( | ViewScreen | viewScreen | ) |
Initializes a new instance of the View class.
viewScreen | The screen type for which the view can be displayed. |
|
override |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
other | the specified View object to compare this instance to. |
|
override |
Returns a value indicating whether this instance is equal to a specified object.
obj | The object to compare with this instance. |
System::SharedPtr<Aspose::Tasks::Filter> Aspose::Tasks::View::get_Filter | ( | ) |
Gets a filter used in a single view.
System::SharedPtr<Aspose::Tasks::Group> Aspose::Tasks::View::get_Group | ( | ) |
Gets a group of the single view.
bool Aspose::Tasks::View::get_HighlightFilter | ( | ) | const |
Gets a value indicating whether Microsoft Project highlights the filter for a single view.
System::String Aspose::Tasks::View::get_Name | ( | ) | const |
Gets the name of a View object.
System::SharedPtr<Aspose::Tasks::Visualization::PageInfo> Aspose::Tasks::View::get_PageInfo | ( | ) | const |
Gets an instance of the PageInfo class. Represents page setup data which is present in mpp file format.
const System::SharedPtr<Project>& Aspose::Tasks::View::get_ParentProject | ( | ) | const |
ViewScreen Aspose::Tasks::View::get_Screen | ( | ) | const |
Gets the screen type for the single view. Read-only ViewScreen.
bool Aspose::Tasks::View::get_ShowInMenu | ( | ) | const |
System::SharedPtr<Aspose::Tasks::Table> Aspose::Tasks::View::get_Table | ( | ) |
Gets a table of the single view.
ItemType Aspose::Tasks::View::get_Type | ( | ) | const |
Gets the type of item in the single view, such as tasks or resources. Read-only ItemType.
int32_t Aspose::Tasks::View::get_Uid | ( | ) | const |
Gets the unique identifier of a view.
System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<Visualization::VisualObjectPlacement> > > Aspose::Tasks::View::get_VisualObjectsPlacements | ( | ) |
Gets a collection of objects representing placement and appearance of OleObject in the view.
|
override |
Returns a hash code value for the instance of the Resource class.
void Aspose::Tasks::View::set_Filter | ( | const System::SharedPtr< Aspose::Tasks::Filter > & | value | ) |
Sets a filter used in a single view.
void Aspose::Tasks::View::set_Group | ( | const System::SharedPtr< Aspose::Tasks::Group > & | value | ) |
Sets a group of the single view.
void Aspose::Tasks::View::set_HighlightFilter | ( | bool | value | ) |
Sets a value indicating whether Microsoft Project highlights the filter for a single view.
void Aspose::Tasks::View::set_Name | ( | const System::String & | value | ) |
Sets the name of a View object.
void Aspose::Tasks::View::set_ShowInMenu | ( | bool | value | ) |
void Aspose::Tasks::View::set_Table | ( | const System::SharedPtr< Aspose::Tasks::Table > & | value | ) |
Sets a table of the single view.