SaveOptionsLegendOnEachPage Property

Gets or sets a value indicating whether legend should be shown on each page (Default value is TRUE).

Namespace:  Aspose.Tasks.Saving
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 20.11
public bool LegendOnEachPage { get; set; }

Property Value

Type: Boolean
Shows how to hide page legends.
var project = new Project(DataDir + "CreateProject2.mpp");
SaveOptions options = new PdfSaveOptions
    // Set the LegendOnEachPage property to false to hide legends
    LegendOnEachPage = false

project.Save(OutDir + "HideLegendsDuringSave_out.pdf", options);
See Also