SaveOptions.LegendOnEachPage property

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

public bool LegendOnEachPage { get; set; }


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