Class PrimaveraXmlSaveOptions
Contents
[
Hide
]PrimaveraXmlSaveOptions class
Allows to specify additional options when saving project to Primavera xml format.
public class PrimaveraXmlSaveOptions : SimpleSaveOptions
Constructors
Name | Description |
---|---|
PrimaveraXmlSaveOptions() | Initializes a new instance of the PrimaveraXmlSaveOptions class. |
Properties
Name | Description |
---|---|
SaveFormat { get; } | Gets or sets the format in which the document will be saved if this save options object is used. |
SaveRootTask { get; set; } | Gets or sets a value indicating whether to save a root task or not. |
TasksComparer { get; set; } | Gets or sets the comparer to sort tasks on Gantt chart and Task Sheet chart. |
TasksFilter { get; set; } | Gets or sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts. |
Examples
Shows how to export the to Primavera XML file.
var project = new Project(DataDir + "project.xml");
var options = new PrimaveraXmlSaveOptions();
options.SaveRootTask = false;
project.Save(OutDir + "UsingPrimaveraXMLSaveOptions_out.xml", options);
See Also
- class SimpleSaveOptions
- namespace Aspose.Tasks.Saving
- assembly Aspose.Tasks