Rendering Resource Sheet View
The Resource Sheet view in Microsoft Project provides detailed information about all project resources, such as:
- Resource name and type
- Standard and overtime rates
- Cost information
- Associated calendars
This view helps project managers analyze resources and their attributes in a structured way. Aspose.Tasks for .NET enables you to programmatically render the Resource Sheet view to PDF (or other supported formats) using the PresentationFormat enumerator.
Rendering Resource Sheet View
The following steps demonstrate how to render a Resource Sheet view to PDF:
- Create an instance of the Project class to load the MPP file.
- Specify the PresentationFormat.ResourceSheet option.
- Use the Save method to export the Resource Sheet view to PDF.
This approach allows exporting resource-related information directly from the Microsoft Project file without needing Microsoft Project installed.
The following example shows how to read a project file containing multiple resources and render its Resource Sheet view into a PDF file:
1Project project = new Project("New Project.mpp");
2
3// Set the Presentation Format to Resource Sheet
4PresentationFormat format = PresentationFormat.ResourceSheet;
5
6// Define rendering options
7SaveOptions options = new PdfSaveOptions();
8options.PresentationFormat = format;
9project.Save("ResourceSheetView_out.pdf", options);Rendering the Resource Sheet view with Aspose.Tasks for .NET provides a convenient way to share, archive, or print resource-related project data in PDF format. This functionality is particularly useful for reporting, documentation, and distribution purposes in project management workflows.