작업 목록과 바닥 글 사이의 간격을 제거하십시오
Contents
[
Hide
Show
]프로젝트 데이터를 다른 형식으로 변환하면 프로젝트의 작업 목록과 바닥 글 사이의 공간으로 이어질 수 있습니다. ReduceFooterGap 속성을 사용하면 작업 목록과 문서 바닥 글 사이의 추가 간격이 제거됩니다.
작업 목록과 문서 바닥 글 사이의 간격 제거
1Project project = new Project("New Project.mpp");
2
3// Use ReduceFooterGap property to reduce the gap between list of tasks and Footer
4ImageSaveOptions imageSaveOptions =
5 new ImageSaveOptions(SaveFileFormat.PNG) { ReduceFooterGap = true, SaveToSeparateFiles = true, PageSize = PageSize.A0, Timescale = Timescale.Days };
6project.Save("ReducingGapBetweenTasksListAndFooter_out.png", (SaveOptions)imageSaveOptions);
7
8PdfSaveOptions pdfSaveOptions = new PdfSaveOptions { ReduceFooterGap = true, SaveToSeparateFiles = true, PageSize = PageSize.A0, Timescale = Timescale.Days };
9project.Save("ReducingGapBetweenTasksListAndFooter_out.pdf", (SaveOptions)pdfSaveOptions);
10
11HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions
12{
13 ReduceFooterGap = false,
14 IncludeProjectNameInPageHeader = false,
15 IncludeProjectNameInTitle = false,
16 PageSize = PageSize.A0,
17 Timescale = Timescale.Days
18};
19project.Save("ReducingGapBetweenTasksListAndFooter_out.html", htmlSaveOptions);