レンダリングリソースシートビュー
Contents
[
Hide
Show
]Microsoft Projectのリソースシートビューでは、プロジェクトのすべてのリソースに関する詳細を提供します。このビューを使用して、名前、タイプ、標準、残業率、コスト、カレンダーなどのリソース情報を表示できます。 .NET APIのAspose.Tasksは、PresentationFormatエンクレータを使用してリソースシートをPDFにレンダリングすることをサポートしています。
リソースシートビューのレンダリング
この記事のコードスニペットは、多くのリソースを備えたソースMPPファイルを読み取り、次の手順を使用してPDFを出力します。
- プロジェクトリーダーのインスタンスを作成します。
- ソースMPPファイルをお読みください。
- PresentionFormatをResourcesheetに設定します。
- プロジェクトをPDFを出力します。
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);