ProjectView Class

Project's view class
Inheritance Hierarchy
SystemObject
  Aspose.Tasks.VisualizationProjectView

Namespace:  Aspose.Tasks.Visualization
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 21.10
Syntax
public class ProjectView

The ProjectView type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleProjectView
Initializes a new instance of the ProjectView class.
Properties
  NameDescription
Public propertyCode exampleColumns
Gets the project view columns.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberCode exampleGetDefaultAssignmentView
Includes Uid, task name, resource name, work and duration assignment columns.
Public methodStatic memberCode exampleGetDefaultGanttChartView
Includes id, indicators, name, duration, start and finish task columns.
Public methodStatic memberCode exampleGetDefaultResourceSheetView
Includes Uid, resource name, type, material label, initials, group, max units, standard rate, overtime rate, cost per use, accrue at, base calendar and code resource columns.
Public methodStatic memberCode exampleGetDefaultResourceUsageView
Includes Uid, name, start, finish and work resource columns.
Public methodStatic memberCode exampleGetDefaultTaskSheetView
Includes id, indicators, name, duration, start, finish, predecessors and resource names task columns.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Examples
Shows how to save a project with assignment view.
var project = new Project(DataDir + "Project2.mpp");
SaveOptions options = new PdfSaveOptions
{
    Timescale = Timescale.Months,
    View = ProjectView.GetDefaultAssignmentView()
};

project.Save(OutDir + "WorkWithProjectView_AssignmentView_out.pdf", options);
See Also