ProjectView.GetDefaultTaskSheetView

ProjectView.GetDefaultTaskSheetView method

Includes id, indicators, name, duration, start, finish, predecessors and resource names task columns.

public static ProjectView GetDefaultTaskSheetView()

Return Value

a view which contains a list of GanttChartColumn.

Examples

Shows how to save a project with task sheet view.

var project = new Project(DataDir + "Project2.mpp");
SaveOptions options = new PdfSaveOptions
{
    Timescale = Timescale.Months,
    View = ProjectView.GetDefaultTaskSheetView()
};

project.Save(OutDir + "WorkWithProjectView_TaskSheetView_out.pdf", options);

See Also