SaveOptions Constructor (SaveOptions)

Initializes a new instance of the SaveOptions class.

Namespace:  Aspose.Tasks.Saving
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 20.11
Syntax
protected SaveOptions(
	SaveOptions options
)

Parameters

options
Type: Aspose.Tasks.SavingSaveOptions
The SaveOptions to copy.
Examples
Shows how to set the option whether row height should be increased to fit its content.
var project = new Project(DataDir + "CreateProject2.mpp");
SaveOptions options = new PdfSaveOptions
{
    // Set option fit content to true
    FitContent = true,
    Timescale = Timescale.Months,
    PresentationFormat = PresentationFormat.TaskUsage
};
project.Save(OutDir + "FitContentsToCellSize_out.pdf", options);
See Also