v24.12

Added the MPP to PDF Converter for .NET Plugin

Tasqize v24.12 introduces the MPP to PDF Converter, a robust addition to the Tasqize suite that enables seamless conversion of Microsoft Project (MPP) files into high-quality PDF documents. This new plugin offers extensive customization options, allowing developers to tailor the PDF output to meet specific project reporting and documentation needs.

Usage Example

Below is an example of how to use the ProjectToPdfConverter in Tasqize to convert an MPP file to PDF with customized settings:

using Tasqize;

// Initialize and set the license (optional but recommended)
var license = new Tasqize.License();
license.SetLicense("path/to/your.tasqize.lic");

// Create a new instance of the ProjectToPdfConverter
var converter = new ProjectToPdfConverter();

// Configure PDF save options
var saveOptions = new PdfSaveOptions
{
    FitContent = true,                      // Ensures content fits within cell sizes
    Timescale = Timescale.Weeks,            // Sets the timescale to Weeks
    PresentationFormat = PresentationFormat.GanttChart // Chooses the Gantt Chart view
};

// Customize text styles
saveOptions.TextStyles.Add(new TextStyle
{
    ItemType = TextItemType.CriticalTasks,
    Color = System.Drawing.Color.Red,
    FontStyle = FontStyles.Bold
});

// Perform the conversion
converter.ConvertToPdf(
    inputFilePath: "MyProjectPlan.mpp",
    outputFilePath: "MyProjectPlan.pdf",
    options: saveOptions
);

Console.WriteLine("MPP to PDF conversion completed successfully!");
Jan 13, 2025