Working with Page Header Footer

Aspose.Tasks for .NET API provides the capability to read the Header and Footer information from MPP file. The API has classes mapped to each tab of Microsoft Project Page Setup dialog as detailed in the section below.

  • Microsoft Project Page Setup dialog box has 6 tabs. These tabs are mapped to new classes:
    • Page tab -> Aspose.Tasks.Visualization.PageSettings class
    • Margins tab -> Aspose.Tasks.Visualization.PageMargins class
    • Header, footer tabs -> Aspose.Tasks.Visualization.HeaderFooterInfo class
    • Legend tab -> Aspose.Tasks.Visualization.PageLegend class
    • View tab -> Aspose.Tasks.Visualization.PageViewSettings class

Adding Image to Page Header/Footer

Aspose.Tasks for .NET API provides the capability to manipulate the document’s page header and footer information. The example below shows how to add image to page’s header.