ProjectView.GetDefaultResourceUsageView

ProjectView.GetDefaultResourceUsageView method

Includes Uid, name, start, finish and work resource columns.

public static ProjectView GetDefaultResourceUsageView()

Return Value

a view which contains a list of ResourceViewColumn.

Examples

Shows how to save a project with resource usage view.

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

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

See Also