ImageSaveOptions.ReduceFooterGap

ImageSaveOptions.ReduceFooterGap property

Gets or sets a value indicating whether a gap between last task and the footer must be reduced.

public bool ReduceFooterGap { get; set; }

Examples

Shows how to set a value indicating whether a gap between last task and the footer must be reduced.

var project = new Project(DataDir + "CreateProject2.mpp");

// Use ReduceFooterGap property to reduce the gap between list of tasks and Footer
var imageSaveOptions = new ImageSaveOptions(SaveFileFormat.Png)
                           {
                               ReduceFooterGap = true, /* set to true */ 
                               RenderToSinglePage = false,
                               PageSize = PageSize.A0,
                               Timescale = Timescale.Days
                           };
project.Save(OutDir + "ReducingGapBetweenTasksListAndFooter_out.png", imageSaveOptions);

See Also